cdk-ec2spot:CDK构造库,可让您使用AWS AutoScaling Group或SpotFleet创建EC2 Spot实例

时间:2024-03-10 02:58:59
【文件属性】:

文件名称:cdk-ec2spot:CDK构造库,可让您使用AWS AutoScaling Group或SpotFleet创建EC2 Spot实例

文件大小:130KB

文件格式:ZIP

更新时间:2024-03-10 02:58:59

TypeScript

cdk-ec2spot CDK构造库,可让您使用AWS AutoScaling Group或SpotFleet创建EC2 Spot实例 样本 import * as ec2spot from 'cdk-ec2spot' ; // create a ec2spot provider const provider = new ec2spot . Provider ( stack , 'Provider' ) ; // import or create a vpc const vpc = provider . getOrCreateVpc ( stack ) ; // create an AutoScalingGroup with Launch Template for spot instances provider . createAutoScalingGroup ( 'SpotASG' ,


【文件预览】:
cdk-ec2spot-main
----.eslintrc.json(4KB)
----.versionrc.json(267B)
----.projenrc.js(2KB)
----.mergify.yml(708B)
----.github()
--------pull_request_template.md(7B)
--------workflows()
----tsconfig.jest.json(739B)
----yarn.lock(272KB)
----version.json(26B)
----src()
--------index.ts(7KB)
--------integ.default.ts(908B)
----.projen()
--------deps.json(2KB)
--------tasks.json(5KB)
----.npmignore(363B)
----LICENSE(11KB)
----test()
--------__snapshots__()
--------integ.test.ts(318B)
----README.md(1KB)
----API.md(10KB)
----.gitignore(861B)
----CHANGELOG.md(3KB)
----tsconfig.eslint.json(739B)
----package.json(3KB)

网友评论