@aws-cdk/aws-autoscaling
Advanced tools
Comparing version 0.14.1 to 0.15.0
@@ -34,3 +34,3 @@ "use strict"; | ||
}); | ||
this.connections = new ec2.Connections({ securityGroup: this.securityGroup }); | ||
this.connections = new ec2.Connections({ securityGroups: [this.securityGroup] }); | ||
this.securityGroups.push(this.securityGroup); | ||
@@ -58,5 +58,5 @@ this.tags = new TagManager(this, { initialTags: props.tags }); | ||
launchConfig.addDependency(this.role); | ||
const minSize = props.minSize || 1; | ||
const maxSize = props.maxSize || 1; | ||
const desiredCapacity = props.desiredCapacity || 1; | ||
const minSize = props.minSize !== undefined ? props.minSize : 1; | ||
const maxSize = props.maxSize !== undefined ? props.maxSize : 1; | ||
const desiredCapacity = props.desiredCapacity !== undefined ? props.desiredCapacity : 1; | ||
if (desiredCapacity < minSize || desiredCapacity > maxSize) { | ||
@@ -272,2 +272,2 @@ throw new Error(`Should have minSize (${minSize}) <= desiredCapacity (${desiredCapacity}) <= maxSize (${maxSize})`); | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0by1zY2FsaW5nLWdyb3VwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiYXV0by1zY2FsaW5nLWdyb3VwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsd0NBQXlDO0FBRXpDLDZEQUE4RDtBQUM5RCx3Q0FBeUM7QUFFekMsb0NBQXFDO0FBRXJDLG1FQUF5RDtBQUV6RDs7R0FFRztBQUNILE1BQU0sUUFBUSxHQUFXLE1BQU0sQ0FBQztBQThIaEM7Ozs7Ozs7Ozs7R0FVRztBQUNILE1BQWEsZ0JBQWlCLFNBQVEsR0FBRyxDQUFDLFNBQVM7SUE2QmpELFlBQVksTUFBcUIsRUFBRSxJQUFZLEVBQUUsS0FBNEI7UUFDM0UsS0FBSyxDQUFDLE1BQU0sRUFBRSxJQUFJLENBQUMsQ0FBQztRQVJMLGtCQUFhL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iAgICB9KTtcbiAgfVxufVxuXG4vKipcbiAqIFJlbmRlciBhIG51bWJlciBvZiBzZWNvbmRzIHRvIGEgUFRuWCBzdHJpbmcuXG4gKi9cbmZ1bmN0aW9uIHJlbmRlcklzb0R1cmF0aW9uKHNlY29uZHM6IG51bWJlcik6IHN0cmluZyB7XG4gIGNvbnN0IHJldDogc3RyaW5nW10gPSBbXTtcblxuICBpZiAoc2Vjb25kcyA+PSAzNjAwKSB7XG4gICAgcmV0LnB1c2goYCR7TWF0aC5mbG9vcihzZWNvbmRzIC8gMzYwMCl9SGApO1xuICAgIHNlY29uZHMgJT0gMzYwMDtcbiAgfVxuICBpZiAoc2Vjb25kcyA+PSA2MCkge1xuICAgIHJldC5wdXNoKGAke01hdGguZmxvb3Ioc2Vjb25kcyAvIDYwKX1NYCk7XG4gICAgc2Vjb25kcyAlPSA2MDtcbiAgfVxuICBpZiAoc2Vjb25kcyA+IDApIHtcbiAgICByZXQucHVzaChgJHtzZWNvbmRzfVNgKTtcbiAgfVxuXG4gIHJldHVybiAnUFQnICsgcmV0LmpvaW4oJycpO1xufVxuXG5mdW5jdGlvbiB2YWxpZGF0ZVBlcmNlbnRhZ2UoeD86IG51bWJlcik6IG51bWJlciB8IHVuZGVmaW5lZCB7XG4gIGlmICh4ID09PSB1bmRlZmluZWQgfHwgKDAgPD0geCAmJiB4IDw9IDEwMCkpIHsgcmV0dXJuIHg7IH1cbiAgdGhyb3cgbmV3IEVycm9yKGBFeHBlY3RlZDogYSBwZXJjZW50YWdlIDAuLjEwMCwgZ290OiAke3h9YCk7XG59XG4iXX0= |
{ | ||
"name": "@aws-cdk/aws-autoscaling", | ||
"version": "0.14.1", | ||
"version": "0.15.0", | ||
"description": "The CDK Construct Library for AWS::AutoScaling", | ||
@@ -55,9 +55,18 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@aws-cdk/assert": "^0.14.1", | ||
"cdk-build-tools": "^0.14.1", | ||
"cdk-integ-tools": "^0.14.1", | ||
"cfn2ts": "^0.14.1", | ||
"pkglint": "^0.14.1" | ||
"@aws-cdk/assert": "^0.15.0", | ||
"cdk-build-tools": "^0.15.0", | ||
"cdk-integ-tools": "^0.15.0", | ||
"cfn2ts": "^0.15.0", | ||
"pkglint": "^0.15.0" | ||
}, | ||
"dependencies": { | ||
"@aws-cdk/aws-ec2": "^0.15.0", | ||
"@aws-cdk/aws-elasticloadbalancing": "^0.15.0", | ||
"@aws-cdk/aws-elasticloadbalancingv2": "^0.15.0", | ||
"@aws-cdk/aws-iam": "^0.15.0", | ||
"@aws-cdk/aws-sns": "^0.15.0", | ||
"@aws-cdk/cdk": "^0.15.0" | ||
}, | ||
"homepage": "https://github.com/awslabs/aws-cdk", | ||
"peerDependencies": { | ||
"@aws-cdk/aws-ec2": "^0.14.1", | ||
@@ -69,4 +78,3 @@ "@aws-cdk/aws-elasticloadbalancing": "^0.14.1", | ||
"@aws-cdk/cdk": "^0.14.1" | ||
}, | ||
"homepage": "https://github.com/awslabs/aws-cdk" | ||
} | ||
} |
@@ -26,29 +26,21 @@ ## The CDK Construct Library for AWS Auto-Scaling | ||
### AMIs | ||
### Machine Images (AMIs) | ||
AMIs control the OS that gets launched when you start your instance. | ||
AMIs control the OS that gets launched when you start your EC2 instance. The EC2 | ||
library contains constructs to select the AMI you want to use. | ||
Depending on the type of AMI, you select it a different way. | ||
The latest version of Windows images are regionally published under labels, | ||
so you can select Windows images like this: | ||
The latest version of Amazon Linux and Microsoft Windows images are | ||
selectable by instantiating one of these classes: | ||
new ec2.WindowsImage(WindowsVersion.WindowsServer2016EnglishNanoBase) | ||
[example of creating images](test/example.images.lit.ts) | ||
You can select the latest Amazon Linux image like this: | ||
> NOTE: The Amazon Linux images selected will be cached in your `cdk.json`, so that your | ||
> AutoScalingGroups don't automatically change out from under you when you're making unrelated | ||
> changes. To update to the latest version of Amazon Linux, remove the cache entry from the `context` | ||
> section of your `cdk.json`. | ||
> | ||
> We will add command-line options to make this step easier in the future. | ||
new ec2.AmazonLinuxImage() | ||
Other Linux images are unfortunately not currently published this way, so you have | ||
to supply a region-to-AMI map when creating a Linux image: | ||
machineImage: new ec2.GenericLinuxImage({ | ||
'us-east-1': 'ami-97785bed', | ||
'eu-west-1': 'ami-12345678', | ||
// ... | ||
}) | ||
> NOTE: Selecting Linux images will change when the information is published in an automatically | ||
> consumable way. | ||
### Allowing Connections | ||
@@ -55,0 +47,0 @@ |
import { Test } from 'nodeunit'; | ||
declare const _default: { | ||
'default fleet'(test: Test): void; | ||
'can set minSize, maxSize, desiredCapacity to 0'(test: Test): void; | ||
'addToRolePolicy can be used to add statements to the role policy'(test: Test): void; | ||
@@ -5,0 +6,0 @@ 'can configure replacing update'(test: Test): void; |
@@ -134,2 +134,20 @@ "use strict"; | ||
}, | ||
'can set minSize, maxSize, desiredCapacity to 0'(test) { | ||
const stack = new cdk.Stack(undefined, 'MyStack', { env: { region: 'us-east-1', account: '1234' } }); | ||
const vpc = mockVpc(stack); | ||
new autoscaling.AutoScalingGroup(stack, 'MyFleet', { | ||
instanceType: new ec2.InstanceTypePair(ec2.InstanceClass.M4, ec2.InstanceSize.Micro), | ||
machineImage: new ec2.AmazonLinuxImage(), | ||
vpc, | ||
minSize: 0, | ||
maxSize: 0, | ||
desiredCapacity: 0 | ||
}); | ||
assert_1.expect(stack).to(assert_1.haveResource("AWS::AutoScaling::AutoScalingGroup", { | ||
MinSize: "0", | ||
MaxSize: "0", | ||
DesiredCapacity: "0", | ||
})); | ||
test.done(); | ||
}, | ||
'addToRolePolicy can be used to add statements to the role policy'(test) { | ||
@@ -302,2 +320,2 @@ const stack = new cdk.Stack(undefined, 'MyStack', { env: { region: 'us-east-1', account: '1234' } }); | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdC5hdXRvLXNjYWxpbmctZ3JvdXAuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJ0ZXN0LmF1dG8tc2NhbGluZy1ncm91cC50cyJ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biAgICAgICAgICAgIFwiR3JvdXBEZXNjcmlwdGlvblwiOiBcIk15RmxlZXQvSW5zdGFuY2VTZWN1cml0eUdyb3VwXCIsXG4gICAgICAgICAgICBcIlNlY3VyaXR5R3JvdXBFZ3Jlc3NcIjogW1xuICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgXCJDaWRySXBcIjogXCIwLjAuMC4wLzBcIixcbiAgICAgICAgICAgICAgICBcIkRlc2NyaXB0aW9uXCI6IFwiQWxsb3cgYWxsIG91dGJvdW5kIHRyYWZmaWMgYnkgZGVmYXVsdFwiLFxuICAgICAgICAgICAgICAgIFwiSXBQcm90b2NvbFwiOiBcIi0xXCIsXG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIF0sXG4gICAgICAgICAgICBcIlNlY3VyaXR5R3JvdXBJbmdyZXNzXCI6IFtdLFxuICAgICAgICAgICAgXCJUYWdzXCI6IFtcbiAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgIFwiS2V5XCI6IFwiTmFtZVwiLFxuICAgICAgICAgICAgICAgIFwiVmFsdWVcIjogXCJNeUZsZWV0XCJcbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgXSxcblxuICAgICAgICAgICAgXCJWcGNJZFwiOiBcIm15LXZwY1wiXG4gICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICBcIk15RmxlZXRJbnN0YW5jZVJvbGUyNUE4NEFCOFwiOiB7XG4gICAgICAgICAgXCJUeXBlXCI6IFwiQVdTOjpJQU06OlJvbGVcIixcbiAgICAgICAgICBcIlByb3BlcnRpZXNcIjoge1xuICAgICAgICAgICAgXCJBc3N1bWVSb2xlUG9saWN5RG9jdW1lbnRcIjoge1xuICAgICAgICAgICAgICBcIlN0YXRlbWVudFwiOiBbXG4gICAgICAgICAgICB7XG4gICAgICAgICAgICBcIkFjdGlvblwiOiBcInN0czpBc3N1bWVSb2xlXCIsXG4gICAgICAgICAgICBcIkVmZmVjdFwiOiBcIkFsbG93XCIsXG4gICAgICAgICAgICBcIlByaW5jaXBhbFwiOiB7XG4gICAgICAgICAgICAgIFwiU2VydmljZVwiOiBcImVjMi5hbWF6b25hd3MuY29tXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgICBdLFxuICAgICAgICAgIFwiVmVyc2lvblwiOiBcIjIwMTItMTAtMTdcIlxuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICBcIk15RmxlZXRJbnN0YW5jZVByb2ZpbGU3MEE1ODQ5NlwiOiB7XG4gICAgICAgIFwiVHlwZVwiOiBcIkFXUzo6SUFNOjpJbnN0YW5jZVByb2ZpbGVcIixcbiAgICAgICAgXCJQcm9wZXJ0aWVzXCI6IHtcbiAgICAgICAgICBcIlJvbGVzXCI6IFtcbiAgICAgICAgICB7XG4gICAgICAgICAgICBcIlJlZlwiOiBcIk15RmxlZXRJbnN0YW5jZVJvbGUyNUE4NEFCOFwiXG4gICAgICAgICAgfVxuICAgICAgICAgIF1cbiAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICBcIk15RmxlZXRMYXVuY2hDb25maWc1RDdGOTgwMVwiOiB7XG4gICAgICAgIFwiVHlwZVwiOiBcIkFXUzo6QXV0b1NjYWxpbmc6OkxhdW5jaENvbmZpZ3VyYXRpb25cIixcbiAgICAgICAgXCJQcm9wZXJ0aWVzXCI6IHtcbiAgICAgICAgICBcIklhbUluc3RhbmNlUHJvZmlsZVwiOiB7XG4gICAgICAgICAgXCJSZWZcIjogXCJNeUZsZWV0SW5zdGFuY2VQcm9maWxlNzBBNTg0OTZcIlxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJJbWFnZUlkXCI6IFwiZHVtbXlcIixcbiAgICAgICAgICBcIkluc3RhbmNlVHlwZVwiOiBcIm00Lm1pY3JvXCIsXG4gICAgICAgICAgXCJTZWN1cml0eUdyb3Vwc1wiOiBbXG4gICAgICAgICAge1xuICAgICAgICAgICAgXCJGbjo6R2V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gICB9LFxuICAgICAgICB7XG4gICAgICAgICAgS2V5OiAnTmFtZScsXG4gICAgICAgICAgVmFsdWU6ICdNeUZsZWV0JyxcbiAgICAgICAgICBQcm9wYWdhdGVBdExhdW5jaDogdHJ1ZSxcbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIEtleTogJ25vdHN1cGVyJyxcbiAgICAgICAgICBWYWx1ZTogJ2NhcmFtZWwnLFxuICAgICAgICAgIFByb3BhZ2F0ZUF0TGF1bmNoOiBmYWxzZSxcbiAgICAgICAgfSxcbiAgICAgIF1cbiAgICB9KSk7XG4gICAgdGVzdC5kb25lKCk7XG4gIH0sXG59O1xuXG5mdW5jdGlvbiBtb2NrVnBjKHN0YWNrOiBjZGsuU3RhY2spIHtcbiAgcmV0dXJuIGVjMi5WcGNOZXR3b3JrLmltcG9ydChzdGFjaywgJ015VnBjJywge1xuICAgIHZwY0lkOiAnbXktdnBjJyxcbiAgICBhdmFpbGFiaWxpdHlab25lczogWyAnYXoxJyBdLFxuICAgIHB1YmxpY1N1Ym5ldElkczogWyAncHViMScgXSxcbiAgICBwcml2YXRlU3VibmV0SWRzOiBbICdwcmkxJyBdLFxuICAgIGlzb2xhdGVkU3VibmV0SWRzOiBbXSxcbiAgfSk7XG59XG5cbmZ1bmN0aW9uIG1vY2tTZWN1cml0eUdyb3VwKHN0YWNrOiBjZGsuU3RhY2spIHtcbiAgcmV0dXJuIGVjMi5TZWN1cml0eUdyb3VwUmVmLmltcG9ydChzdGFjaywgJ015U0cnLCB7XG4gICAgc2VjdXJpdHlHcm91cElkOiAnbW9zdC1zZWN1cmUnLFxuICB9KTtcbn1cbiJdfQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdC5hdXRvLXNjYWxpbmctZ3JvdXAuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJ0ZXN0LmF1dG8tc2NhbGluZy1ncm91cC50cyJdLCJuYW1lcyI6W10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pZHJJcFwiOiBcIjAuMC4wLjAvMFwiLFxuICAgICAgICAgICAgICAgIFwiRGVzY3JpcHRpb25cIjogXCJBbGxvdyBhbGwgb3V0Ym91bmQgdHJhZmZpYyBieSBkZWZhdWx0XCIsXG4gICAgICAgICAgICAgICAgXCJJcFByb3RvY29sXCI6IFwiLTFcIixcbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgXSxcbiAgICAgICAgICAgIFwiU2VjdXJpdHlHcm91cEluZ3Jlc3NcIjogW10sXG4gICAgICAgICAgICBcIlRhZ3NcIjogW1xuICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgXCJLZXlcIjogXCJOYW1lXCIsXG4gICAgICAgICAgICAgICAgXCJWYWx1ZVwiOiBcIk15RmxlZXRcIlxuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICBdLFxuXG4gICAgICAgICAgICBcIlZwY0lkXCI6IFwibXktdnBjXCJcbiAgICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICAgIFwiTXlGbGVldEluc3RhbmNlUm9sZTI1QTg0QUI4XCI6IHtcbiAgICAgICAgICBcIlR5cGVcIjogXCJBV1M6OklBTTo6Um9sZVwiLFxuICAgICAgICAgIFwiUHJvcGVydGllc1wiOiB7XG4gICAgICAgICAgICBcIkFzc3VtZVJvbGVQb2xpY3lEb2N1bWVudFwiOiB7XG4gICAgICAgICAgICAgIFwiU3RhdGVtZW50XCI6IFtcbiAgICAgICAgICAgIHtcbiAgICAgICAgICAgIFwiQWN0aW9uXCI6IFwic3RzOkFzc3VtZVJvbGVcIixcbiAgICAgICAgICAgIFwiRWZmZWN0XCI6IFwiQWxsb3dcIixcbiAgICAgICAgICAgIFwiUHJpbmNpcGFsXCI6IHtcbiAgICAgICAgICAgICAgXCJTZXJ2aWNlXCI6IFwiZWMyLmFtYXpvbmF3cy5jb21cIlxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICAgIF0sXG4gICAgICAgICAgXCJWZXJzaW9uXCI6IFwiMjAxMi0xMC0xN1wiXG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICAgIFwiTXlGbGVldEluc3RhbmNlUHJvZmlsZTcwQTU4NDk2XCI6IHtcbiAgICAgICAgXCJUeXBlXCI6IFwiQVdTOjpJQU06Okluc3RhbmNlUHJvZmlsZVwiLFxuICAgICAgICBcIlByb3BlcnRpZXNcIjoge1xuICAgICAgICAgIFwiUm9sZXNcIjogW1xuICAgICAgICAgIHtcbiAgICAgICAgICAgIFwiUmVmXCI6IFwiTXlGbGVldEluc3RhbmNlUm9sZTI1QTg0QUI4XCJcbiAgICAgICAgICB9XG4gICAgICAgICAgXVxuICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICAgIFwiTXlGbGVldExhdW5jaENvbmZpZzVEN0Y5ODAxXCI6IHtcbiAgICAgICAgXCJUeXBlXCI6IFwiQVdTOjpBdXRvU2NhbGluZzo6TGF1bmNoQ29uZmlndXJhdGlvblwiLFxuICAgICAgICBcIlByb3BlcnRpZXNcIjoge1xuICAgICAgICAgIFwiSWFtSW5zdGFuY2VQcm9maWxlXCI6IHtcbiAgICAgICAgICBcIlJlZlwiOiBcIk15RmxlZXRJbnN0YW5jZVByb2ZpbGU3MEE1ODQ5NlwiXG4gICAgICAgICAgfSxcbiAgICAgICAgICBcIkltYWdlSWRcIjogXCJkdW1teVwiLFxuICAgICAgICAgIFwiSW5zdGFuY2VUeXBlXCI6IFwibTQubWljcm9cIixcbiAgICAgICAgICBcIlNlY3VyaXR5R3JvdXBzXCI6IFtcbiAgICAgICAgICB7XG4gICAgICAgICAgICBcIkZuOjpHZXRBdHRcIjogW1xuICAgICAgICAgICAgXCJNeUZsZWV0SW5zdGFuY2VTZWN1cml0eUdyb3VwNzc0RTgyMzRcIixcbiAgICAgICAgICAgIFwiR3JvdXBJZFwiXG4gICAgICAgICAgICBdXG4gICAgICAgICAgfVxuICAgICAgICAgIF0sXG4gICAgICAgICAgXCJVc2VyRGF0YVwiOiB7XG4gICAgICAgICAgXCJGbjo6QmFzZTY0XCI6IFwiIyEvYmluL2Jhc2hcXG5cIlxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAgXCJEZXBlbmRzT25cIjogW1xuICAgICAgICAgIFwiTXlGbGVldEluc3RhbmNlUm9sZTI1QTg0QUI4XCJcbiAgICAgICAgXVxuICAgICAgICB9LFxuICAgICAgICBcIk15RmxlZXRBU0c4OEU1NTg4NlwiOiB7XG4gICAgICAgIFwiVHlwZVwiOiBcIkFXUzo6QXV0b1NjYWxpbmc6OkF1dG9TY2FsaW5nR3JvdXBcIixcbiAgICAgICAgXCJVcGRhdGVQb2xpY3lcIjoge1xuICAgICAgICAgIFwiQXV0b1NjYWxpbmdTY2hlZHVsZWRBY3Rpb25cIjoge1xuICAgICAgICAgIFwiSWdub3JlVW5tb2RpZmllZEdyb3VwU2l6ZVByb3BlcnRpZXNcIjogdHJ1ZVxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAgXCJQcm9wZXJ0aWVzXCI6IHtcbiAgICAgICAgICBcIkRlc2lyZWRDYXBhY2l0eVwiOiBcIjFcIixcbiAgICAgICAgICBcIkxhdW5jaENvbmZpZ3VyYXRpb25OYW1lXCI6IHtcbiAgICAgICAgICBcIlJlZlwiOiBcIk15RmxlZXRMYXVuY2hDb25maWc1RDdGOTgwMVwiXG4gICAgICAgICAgfSxcbiAgICAgICAgICBcIlRhZ3NcIjogW1xuICAgICAgICAgICAge1xuICAgICAgICAgICAgICBcIktleVwiOiBcIk5hbWVcIixcbiAgICAgICAgICAgICAgXCJQcm9wYWdhdGVBdExhdW5jaFwiOiB0cnVlLFxuICAgICAgICAgICAgICBcIlZhbHVlXCI6IFwiTXlGbGVldFwiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgXSxcblxuICAgICAgICAgIFwiTWF4U2l6ZVwiOiBcIjFcIixcbiAgICAgICAgICBcIk1pblNpemVcIjogXCIxXCIsXG4gICAgICAg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mdW5jdGlvbiBtb2NrVnBjKHN0YWNrOiBjZGsuU3RhY2spIHtcbiAgcmV0dXJuIGVjMi5WcGNOZXR3b3JrLmltcG9ydChzdGFjaywgJ015VnBjJywge1xuICAgIHZwY0lkOiAnbXktdnBjJyxcbiAgICBhdmFpbGFiaWxpdHlab25lczogWyAnYXoxJyBdLFxuICAgIHB1YmxpY1N1Ym5ldElkczogWyAncHViMScgXSxcbiAgICBwcml2YXRlU3VibmV0SWRzOiBbICdwcmkxJyBdLFxuICAgIGlzb2xhdGVkU3VibmV0SWRzOiBbXSxcbiAgfSk7XG59XG5cbmZ1bmN0aW9uIG1vY2tTZWN1cml0eUdyb3VwKHN0YWNrOiBjZGsuU3RhY2spIHtcbiAgcmV0dXJuIGVjMi5TZWN1cml0eUdyb3VwUmVmLmltcG9ydChzdGFjaywgJ015U0cnLCB7XG4gICAgc2VjdXJpdHlHcm91cElkOiAnbW9zdC1zZWN1cmUnLFxuICB9KTtcbn1cbiJdfQ== |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
779865
25
4295
12
49
+ Added@aws-cdk/assets@0.15.2(transitive)
+ Added@aws-cdk/aws-cloudwatch@0.15.2(transitive)
+ Added@aws-cdk/aws-codedeploy-api@0.15.2(transitive)
+ Added@aws-cdk/aws-codepipeline-api@0.15.2(transitive)
+ Added@aws-cdk/aws-ec2@0.15.2(transitive)
+ Added@aws-cdk/aws-elasticloadbalancing@0.15.2(transitive)
+ Added@aws-cdk/aws-elasticloadbalancingv2@0.15.2(transitive)
+ Added@aws-cdk/aws-events@0.15.2(transitive)
+ Added@aws-cdk/aws-iam@0.15.2(transitive)
+ Added@aws-cdk/aws-kms@0.15.2(transitive)
+ Added@aws-cdk/aws-lambda@0.15.2(transitive)
+ Added@aws-cdk/aws-logs@0.15.2(transitive)
+ Added@aws-cdk/aws-s3@0.15.2(transitive)
+ Added@aws-cdk/aws-s3-notifications@0.15.2(transitive)
+ Added@aws-cdk/aws-sns@0.15.2(transitive)
+ Added@aws-cdk/aws-sqs@0.15.2(transitive)
+ Added@aws-cdk/aws-stepfunctions@0.15.2(transitive)
+ Added@aws-cdk/cdk@0.15.2(transitive)
+ Added@aws-cdk/cx-api@0.15.2(transitive)
- Removed@aws-cdk/assets@0.14.1(transitive)
- Removed@aws-cdk/aws-cloudwatch@0.14.1(transitive)
- Removed@aws-cdk/aws-codedeploy-api@0.14.1(transitive)
- Removed@aws-cdk/aws-codepipeline-api@0.14.1(transitive)
- Removed@aws-cdk/aws-ec2@0.14.1(transitive)
- Removed@aws-cdk/aws-elasticloadbalancing@0.14.1(transitive)
- Removed@aws-cdk/aws-elasticloadbalancingv2@0.14.1(transitive)
- Removed@aws-cdk/aws-events@0.14.1(transitive)
- Removed@aws-cdk/aws-iam@0.14.1(transitive)
- Removed@aws-cdk/aws-kms@0.14.1(transitive)
- Removed@aws-cdk/aws-lambda@0.14.1(transitive)
- Removed@aws-cdk/aws-logs@0.14.1(transitive)
- Removed@aws-cdk/aws-s3@0.14.1(transitive)
- Removed@aws-cdk/aws-s3-notifications@0.14.1(transitive)
- Removed@aws-cdk/aws-sns@0.14.1(transitive)
- Removed@aws-cdk/aws-sqs@0.14.1(transitive)
- Removed@aws-cdk/aws-stepfunctions@0.14.1(transitive)
- Removed@aws-cdk/cdk@0.14.1(transitive)
- Removed@aws-cdk/cx-api@0.14.1(transitive)
Updated@aws-cdk/aws-ec2@^0.15.0
Updated@aws-cdk/aws-iam@^0.15.0
Updated@aws-cdk/aws-sns@^0.15.0
Updated@aws-cdk/cdk@^0.15.0