Skip to content

Commit 077d77d

Browse files
authored
2 parents 9f41881 + 36fa241 commit 077d77d

File tree

629 files changed

+24385
-15070
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

629 files changed

+24385
-15070
lines changed

Diff for: CHANGELOG.v2.alpha.md

+26
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,32 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [2.55.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.54.0-alpha.0...v2.55.0-alpha.0) (2022-12-14)
6+
7+
8+
### ⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES
9+
10+
* **appsync:** `DataSource.createResolver`,
11+
`DataSource.createFunction`, and `GraphQlApi.createResolver` now require
12+
2 arguments instead of 1.
13+
* **appsync:** Renames `Schema` to `SchemaFile` that implements `ISchema`. Removes all `addXxx` type methods from `GraphQlApi`.
14+
15+
### Features
16+
17+
* **aws-lambda-python:** add command hooks for bundling to allow for execution of custom commands in the build container ([#23330](https://github.com/aws/aws-cdk/issues/23330)) ([d3d071f](https://github.com/aws/aws-cdk/commit/d3d071f51fab61ae0e484f143e68e698bba48537))
18+
* **gamelift:** add GameSessionQueue L2 Construct for GameLift ([#23266](https://github.com/aws/aws-cdk/issues/23266)) ([1ded644](https://github.com/aws/aws-cdk/commit/1ded64430d8258f6666743e245ef5ac31ed4bf0b))
19+
20+
21+
### Bug Fixes
22+
23+
* **appsync:** unexpected resolver replacement ([#23322](https://github.com/aws/aws-cdk/issues/23322)) ([6dc15d4](https://github.com/aws/aws-cdk/commit/6dc15d40764dc71fe6a3b70691f586e96cdcf730)), closes [#13269](https://github.com/aws/aws-cdk/issues/13269)
24+
* **servicecatalogappregistry:** synth error when associating a nested stack ([#23248](https://github.com/aws/aws-cdk/issues/23248)) ([30301d9](https://github.com/aws/aws-cdk/commit/30301d9e5ab4af86c5e48a5ad47013924acdfed7))
25+
26+
27+
### Miscellaneous Chores
28+
29+
* **appsync:** removes codefirst schema generation ([#23250](https://github.com/aws/aws-cdk/issues/23250)) ([2bd1e41](https://github.com/aws/aws-cdk/commit/2bd1e4184aea054766f7872b300b960b2b83ef06))
30+
531
## [2.54.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.53.0-alpha.0...v2.54.0-alpha.0) (2022-12-07)
632

733

Diff for: CHANGELOG.v2.md

+27
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,33 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [2.55.0](https://github.com/aws/aws-cdk/compare/v2.54.0...v2.55.0) (2022-12-14)
6+
7+
8+
### Features
9+
10+
* **autoscaling:** support default instance warmup for Auto Scaling groups ([#23285](https://github.com/aws/aws-cdk/issues/23285)) ([3f706e2](https://github.com/aws/aws-cdk/commit/3f706e2210fb1ffe2b70e27862a17594c3337800))
11+
* **cfnspec:** cloudformation spec v101.0.0 ([#23294](https://github.com/aws/aws-cdk/issues/23294)) ([3951f09](https://github.com/aws/aws-cdk/commit/3951f09fb370b74936f3fb45e7188ac6c7343b67))
12+
* **cognito:** add new AdvancedSecurityMode property ([#23261](https://github.com/aws/aws-cdk/issues/23261)) ([9cc9bd3](https://github.com/aws/aws-cdk/commit/9cc9bd34a9d67e7e072292e20aeb9e003e55f158))
13+
* **core:** add volumes-from option to docker run command for bundling ([#22829](https://github.com/aws/aws-cdk/issues/22829)) ([813c2f1](https://github.com/aws/aws-cdk/commit/813c2f17b6c0f1056ed43a8a93f4cffbe9ae9736)), closes [#8799](https://github.com/aws/aws-cdk/issues/8799) [#21660](https://github.com/aws/aws-cdk/issues/21660)
14+
* **s3:** update runtime of notifications-handler to python3.9 ([#23209](https://github.com/aws/aws-cdk/issues/23209)) ([b2d293d](https://github.com/aws/aws-cdk/commit/b2d293d3f8d36547d8cfd7ff3957428718c3827f))
15+
* **s3-deployment:** add additional sources with `addSource` ([#23321](https://github.com/aws/aws-cdk/issues/23321)) ([b34d0b7](https://github.com/aws/aws-cdk/commit/b34d0b7b0152dc5edb2f963054c6af273119006e)), closes [#22857](https://github.com/aws/aws-cdk/issues/22857)
16+
17+
18+
### Bug Fixes
19+
20+
* **cloudwatch:** math expressions incorrectly warn about metricsinsights variable names ([#23316](https://github.com/aws/aws-cdk/issues/23316)) ([55108b9](https://github.com/aws/aws-cdk/commit/55108b969a94f671a492b4536d2ad9d13d11cf9d))
21+
* **core:** cross stack references to string lists break ([#22873](https://github.com/aws/aws-cdk/issues/22873)) ([3ddb8cf](https://github.com/aws/aws-cdk/commit/3ddb8cf44f1e7a285b767f4f4540924a728083c4)), closes [/docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpoint.html#aws-resource-ec2](https://github.com/aws//docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpoint.html/issues/aws-resource-ec2) [#21682](https://github.com/aws/aws-cdk/issues/21682)
22+
* **custom-resources:** inactive lambda functions fail on invoke ([#22612](https://github.com/aws/aws-cdk/issues/22612)) ([def2971](https://github.com/aws/aws-cdk/commit/def2971d91eedbd327d3acec201d902376129f25)), closes [#20123](https://github.com/aws/aws-cdk/issues/20123)
23+
* **ec2:** Invalid security group ID ([#22859](https://github.com/aws/aws-cdk/issues/22859)) ([c2043c8](https://github.com/aws/aws-cdk/commit/c2043c8dfaaa3189f625dd93c94ee9139e5505e6)), closes [aws-cdk/aws-ec2/lib/peer.ts#L224](https://github.com/aws-cdk/aws-ec2/lib/peer.ts/issues/L224)
24+
* **ecr:** grants for cross-account principals result in failed deployments ([#16376](https://github.com/aws/aws-cdk/issues/16376)) ([84e20f8](https://github.com/aws/aws-cdk/commit/84e20f8da37c22639c033f51c89ef608260e7578)), closes [#15070](https://github.com/aws/aws-cdk/issues/15070)
25+
* **opensearch:** Don't throw a Az count mismatch for imported VPCs ([#22654](https://github.com/aws/aws-cdk/issues/22654)) ([6a28b7f](https://github.com/aws/aws-cdk/commit/6a28b7f0aecf0bc9c5876bf4c7df87d69f0af836)), closes [#22651](https://github.com/aws/aws-cdk/issues/22651)
26+
27+
28+
### Reverts
29+
30+
* "chore: save exclusion rules when bumping the CFN spec ([#22788](https://github.com/aws/aws-cdk/issues/22788))" ([#23282](https://github.com/aws/aws-cdk/issues/23282)) ([cc76cfb](https://github.com/aws/aws-cdk/commit/cc76cfb124a59131996d75d05a82b7985c787ae0))
31+
532
## [2.54.0](https://github.com/aws/aws-cdk/compare/v2.53.0...v2.54.0) (2022-12-07)
633

734

Diff for: allowed-breaking-changes.txt

+2
Original file line numberDiff line numberDiff line change
@@ -148,3 +148,5 @@ incompatible-argument:@aws-cdk/aws-route53-targets.InterfaceVpcEndpointTarget.<i
148148
# to allow the CLI to skip validating the bootstrap stack when the stack is not needed
149149
changed-type:@aws-cdk/cx-api.AssetManifestArtifact.requiresBootstrapStackVersion
150150

151+
# removed mistyped ec2 instance class
152+
removed:aws-cdk-lib.aws_ec2.InstanceClass.COMPUTE6_GRAVITON2_HIGH_NETWORK_BANDWITH

Diff for: package.json

+7-6
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@
1818
"devDependencies": {
1919
"@types/prettier": "2.6.0",
2020
"@yarnpkg/lockfile": "^1.1.0",
21-
"cdk-generate-synthetic-examples": "^0.1.71",
21+
"cdk-generate-synthetic-examples": "^0.1.92",
2222
"conventional-changelog-cli": "^2.2.2",
2323
"fs-extra": "^9.1.0",
2424
"graceful-fs": "^4.2.10",
2525
"jest-junit": "^13.2.0",
26-
"jsii-diff": "1.71.0",
27-
"jsii-pacmak": "1.71.0",
28-
"jsii-reflect": "1.71.0",
29-
"jsii-rosetta": "1.71.0",
26+
"jsii-diff": "1.72.0",
27+
"jsii-pacmak": "1.72.0",
28+
"jsii-reflect": "1.72.0",
29+
"jsii-rosetta": "1.72.0",
3030
"lerna": "^4.0.0",
3131
"patch-package": "^6.5.0",
3232
"semver": "^6.3.0",
@@ -36,7 +36,8 @@
3636
"resolutions": {
3737
"colors": "1.4.0",
3838
"markdown-it": "^12.3.2",
39-
"string-width": "^4.2.3"
39+
"string-width": "^4.2.3",
40+
"@types/babel__traverse": "7.18.2"
4041
},
4142
"repository": {
4243
"type": "git",

Diff for: packages/@aws-cdk/assertions/lib/template.ts

+7-7
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export class Template {
9797
* Assert that a resource of the given type and properties exists in the
9898
* CloudFormation template.
9999
* By default, performs partial matching on the `Properties` key of the resource, via the
100-
* `Match.objectLike()`. To configure different behavour, use other matchers in the `Match` class.
100+
* `Match.objectLike()`. To configure different behavior, use other matchers in the `Match` class.
101101
* @param type the resource type; ex: `AWS::S3::Bucket`
102102
* @param props the 'Properties' section of the resource as should be expected in the template.
103103
*/
@@ -112,7 +112,7 @@ export class Template {
112112
* Assert that a resource of the given type and given definition exists in the
113113
* CloudFormation template.
114114
* By default, performs partial matching on the resource, via the `Match.objectLike()`.
115-
* To configure different behavour, use other matchers in the `Match` class.
115+
* To configure different behavior, use other matchers in the `Match` class.
116116
* @param type the resource type; ex: `AWS::S3::Bucket`
117117
* @param props the entire definition of the resource as should be expected in the template.
118118
*/
@@ -138,7 +138,7 @@ export class Template {
138138
* Assert that all resources of the given type contain the given definition in the
139139
* CloudFormation template.
140140
* By default, performs partial matching on the resource, via the `Match.objectLike()`.
141-
* To configure different behavour, use other matchers in the `Match` class.
141+
* To configure different behavior, use other matchers in the `Match` class.
142142
* @param type the resource type; ex: `AWS::S3::Bucket`
143143
* @param props the entire definition of the resources as they should be expected in the template.
144144
*/
@@ -153,7 +153,7 @@ export class Template {
153153
* Assert that all resources of the given type contain the given properties
154154
* CloudFormation template.
155155
* By default, performs partial matching on the `Properties` key of the resource, via the
156-
* `Match.objectLike()`. To configure different behavour, use other matchers in the `Match` class.
156+
* `Match.objectLike()`. To configure different behavior, use other matchers in the `Match` class.
157157
* @param type the resource type; ex: `AWS::S3::Bucket`
158158
* @param props the 'Properties' section of the resource as should be expected in the template.
159159
*/
@@ -192,7 +192,7 @@ export class Template {
192192
/**
193193
* Assert that an Output with the given properties exists in the CloudFormation template.
194194
* By default, performs partial matching on the resource, via the `Match.objectLike()`.
195-
* To configure different behavour, use other matchers in the `Match` class.
195+
* To configure different behavior, use other matchers in the `Match` class.
196196
* @param logicalId the name of the output. Provide `'*'` to match all outputs in the template.
197197
* @param props the output as should be expected in the template.
198198
*/
@@ -217,7 +217,7 @@ export class Template {
217217
/**
218218
* Assert that a Mapping with the given properties exists in the CloudFormation template.
219219
* By default, performs partial matching on the resource, via the `Match.objectLike()`.
220-
* To configure different behavour, use other matchers in the `Match` class.
220+
* To configure different behavior, use other matchers in the `Match` class.
221221
* @param logicalId the name of the mapping. Provide `'*'` to match all mappings in the template.
222222
* @param props the output as should be expected in the template.
223223
*/
@@ -242,7 +242,7 @@ export class Template {
242242
/**
243243
* Assert that a Condition with the given properties exists in the CloudFormation template.
244244
* By default, performs partial matching on the resource, via the `Match.objectLike()`.
245-
* To configure different behavour, use other matchers in the `Match` class.
245+
* To configure different behavior, use other matchers in the `Match` class.
246246
* @param logicalId the name of the mapping. Provide `'*'` to match all conditions in the template.
247247
* @param props the output as should be expected in the template.
248248
*/

Diff for: packages/@aws-cdk/aws-apigatewayv2-authorizers/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
"@aws-cdk/cdk-build-tools": "0.0.0",
8686
"@aws-cdk/integ-runner": "0.0.0",
8787
"@aws-cdk/pkglint": "0.0.0",
88-
"@types/aws-lambda": "^8.10.108",
88+
"@types/aws-lambda": "^8.10.109",
8989
"@aws-cdk/integ-tests": "0.0.0",
9090
"@types/jest": "^27.5.2"
9191
},

0 commit comments

Comments
 (0)