Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
0ec7097
chore: npm-check-updates && yarn upgrade (#17410)
aws-cdk-automation Nov 9, 2021
d75431b
chore(stepfunctions): migrate tests to assertions (#17400)
kaizencc Nov 9, 2021
39ee7e9
chore(assertions): cleanup unused bundled dependencies (#16973)
Nov 9, 2021
10dfa60
feat(apigatewayv2): websocket api: grant manage connections (#16872)
tmokmss Nov 9, 2021
8241c40
chore: fix python app v2 init template (#17418)
njlynch Nov 9, 2021
334ef24
chore: activate 'rosetta infuse' feature (#17417)
rix0rrr Nov 9, 2021
5b6d983
Merge branch 'master' into merge-back/1.132.0
mergify[bot] Nov 9, 2021
8bb03db
chore(merge-back): 1.132.0 (#17423)
mergify[bot] Nov 9, 2021
69f5f3a
chore(cli): update help string for `qualifier` (#17424)
rix0rrr Nov 9, 2021
bc10e6f
feat(stepfunctions-tasks): Support `DynamoAttributeValue.listFromJson…
rogerchi Nov 9, 2021
3154a58
fix(autoscaling): add timezone property to Scheduled Action (#17330)
eastNine Nov 9, 2021
bde44e7
feat(assertions): support assertions over nested stacks (#16972)
Nov 9, 2021
acd64f4
docs: re-enable example 'strict' mode where possible (#17421)
rix0rrr Nov 9, 2021
6937296
chore(iot-actions): simplify cloudwatch-logs-action test (#17385)
yamatatsu Nov 9, 2021
a391468
fix(aws-logs): include new `policy.ts` exports in `index.ts` exports …
ryparker Nov 9, 2021
ec5b102
feat(lambda): singleton function: access runtime, log group and confi…
ryparker Nov 9, 2021
9c77e94
fix(aws-codebuild): add @aws-cdk/asserts to package deps (#17435)
ryparker Nov 9, 2021
b307b69
feat(servicecatalog): support local launch role name in launch role c…
dponzo Nov 10, 2021
6aec58d
chore(monocdk): ignore rosetta folder (#17439)
kaizencc Nov 10, 2021
e374cad
chore(core): make examples compile (#17432)
rix0rrr Nov 10, 2021
1afc56c
chore: npm-check-updates && yarn upgrade (#17453)
aws-cdk-automation Nov 10, 2021
1d30d82
chore(ubergen): make rosetta fixtures submodule aware (#17438)
kaizencc Nov 10, 2021
af61b7f
fix(cli): skip bundling for the 'watch' command (#17455)
jogold Nov 10, 2021
3570b17
chore(iot-actions): clarify the test difference (#17451)
yamatatsu Nov 10, 2021
49b87db
feat(iot): add Action to put objects in S3 Buckets (#17307)
yamatatsu Nov 10, 2021
4ba40dc
fix(NestedStack): add asset metadata to NestedStack resources for loc…
mildaniel Nov 11, 2021
5900548
fix(ssm): fix service principals for all regions since ap-east-1 (#1…
jolo-dev Nov 11, 2021
841cf99
fix(apigateway): SAM CLI asset metadata missing from SpecRestApi (#17…
moelasmar Nov 11, 2021
3cd8d48
fix(sns-subscriptions): enable cross region subscriptions to sqs and …
corymhall Nov 11, 2021
0885394
chore(integ): clearly show versions being tested (#17469)
rix0rrr Nov 11, 2021
8fa293a
feat(eks): Allow passing of custom IAM role to Kube Ctl Lambda (#17196)
pnathan-vr Nov 11, 2021
f7c3217
fix(redshift): tableNameSuffix evaluation (#17213)
ibrahimcesar Nov 11, 2021
6acee52
fix(eks): Allow specifying subnets in Pinger (#17429)
cmckni3 Nov 11, 2021
0bfc15c
fix(kinesis): add required rights to trigger Lambda from Kinesis. Fix…
mprencipe Nov 11, 2021
724aa17
chore(eks): clarified the usage of the `vpcSubnets` property (#17420)
otaviomacedo Nov 11, 2021
a137cd1
feat(redshift): Add support for distStyle, distKey, sortStyle and sor…
ayush987goyal Nov 11, 2021
34f88cd
chore(cli): correctly set up `cdk watch` in init templates (#17440)
comcalvi Nov 11, 2021
1e88655
chore(rds): add Aurora MySQL version 2.10.1 (#17473)
cokia Nov 11, 2021
284546d
chore: add corymhall as owner for lightsail, aps, and apprunner (#17474)
corymhall Nov 12, 2021
2e6a1a9
feat(aws-eks): support bottlerocket managed nodegroup (#17323)
pahud Nov 12, 2021
6e8de96
feat(cfnspec): cloudformation spec v48.0.0 (#17484)
aws-cdk-automation Nov 12, 2021
04aa1fc
chore(batch): make examples compile (#17480)
kaizencc Nov 12, 2021
40764c7
chore(codedeploy): make examples compile (#17479)
kaizencc Nov 12, 2021
cb25a51
chore: set 'strict' mode for many modules (#17476)
kaizencc Nov 12, 2021
df35c94
chore: fix remaining mergify rules for upcoming deprecation
njlynch Nov 12, 2021
6f2a5d6
chore(codepipeline): make examples compile (#17467)
kaizencc Nov 12, 2021
876eb84
chore(stepfunctions-tasks): revert `AutoTerminationPolicy` (#17481)
kaizencc Nov 12, 2021
bc4f081
chore(cloudfront): make examples compile (#17461)
kaizencc Nov 12, 2021
e828ee2
chore(redshift): fix build break due to undeclared dependency (#17487)
njlynch Nov 12, 2021
df30d4f
feat(ec2): add m5n and m5dn instance types (#17488)
hoegertn Nov 12, 2021
7cb5f2c
feat(iot): add Action to put records to a Firehose stream (#17466)
yamatatsu Nov 12, 2021
f8539de
chore(lambda): enable 'strict' mode on lambda modules (#17477)
kaizencc Nov 12, 2021
b12a2c6
feat(ecs): Add SystemControls to ContainerDefinition (#16970)
ayush987goyal Nov 12, 2021
e621e6e
chore(eks): make examples compile (#17459)
kaizencc Nov 14, 2021
cd6fd3e
chore(lambda-go): remove all go code from integ test handler (#17504)
rix0rrr Nov 15, 2021
a474ee8
fix(aws-lambda-event-sources): `Function.addEventSource` fails for `M…
randyridgley Nov 15, 2021
050f6fa
fix(ec2): Duplicate EIP when NatGatewayProps.eipAllocationIds is prov…
liverpoolGerrard Nov 15, 2021
f52d9bf
fix(lambda): SAM CLI asset metadata missing from image Functions (#17…
torresxb1 Nov 15, 2021
4cd4af8
chore(iot): rename FirehoseStreamProps to FirehoseStreamActionProps (…
skinny85 Nov 15, 2021
0fe090c
chore(cfn-include): make examples compile (#17506)
kaizencc Nov 15, 2021
eed70a0
feat(ec2): add G5 instances (#17499)
jumic Nov 15, 2021
503720f
feat(cognito): user pool: send emails using Amazon SES (#17117)
corymhall Nov 15, 2021
3ab868d
docs: generate synthetic examples for types without handwritten ones …
kaizencc Nov 15, 2021
597268a
chore(ecs-service-extensions): Modify connectTo() to have ConnectToPr…
paragbhingre Nov 16, 2021
1b81c20
chore(lambda): allow the architecture property to be readable from th…
jcstorms1 Nov 16, 2021
5bf0d07
feat(ec2): lookup security group by name (#17246)
jumic Nov 16, 2021
fd71214
chore: limit concurrency on the `transform.sh` script by default (#17…
njlynch Nov 16, 2021
19322b4
chore: npm-check-updates && yarn upgrade (#17525)
aws-cdk-automation Nov 16, 2021
21c2d2b
feat(ec2): vpc endpoints for codeguru (#17498)
zganger Nov 16, 2021
40d6a48
fix(cli): improve asset publishing times by up to 30% (#17409)
Chriscbr Nov 16, 2021
3721358
feat: warn users when deprecated elements are used (#17328)
Nov 16, 2021
d0063ad
chore(ubergen): examples in v2 libraries have incorrect imports (#17524)
kaizencc Nov 16, 2021
77274f7
chore(ubergen): `rewriteReadmeImports` works for monocdk too (#17492)
kaizencc Nov 16, 2021
0d2ac5d
chore(ecs-service-extensions): fix syntax for ConnectToProps interfac…
paragbhingre Nov 17, 2021
7708d37
chore(glue): make examples compile (#17510)
kaizencc Nov 17, 2021
22e850f
chore: npm-check-updates && yarn upgrade (#17542)
aws-cdk-automation Nov 17, 2021
7c50ef8
fix(cloudwatch): render agnostic alarms in legacy style (#17538)
rix0rrr Nov 17, 2021
62fbcbf
chore: move to aws issue triage action (#17549)
peterwoodworth Nov 17, 2021
4a81d39
chore(opensearch): make examples compile (#17543)
kaizencc Nov 18, 2021
6bff929
chore(eks-legacy): make examples compile (#17547)
kaizencc Nov 18, 2021
e2f4ad6
chore(kinesis): make examples compile (#17548)
kaizencc Nov 18, 2021
7b2d31e
chore(deps): bump pillow from 6.2.2 to 8.3.2 in /packages/@aws-cdk/aw…
dependabot[bot] Nov 18, 2021
eda1640
fix(iot): unable to add the same lambda function to two TopicRule Act…
yamatatsu Nov 18, 2021
557f9c3
chore(cli): set User-Agent header for `watch` and `hotswap` (#17554)
skinny85 Nov 18, 2021
d6e285a
docs(ecs): improve code sample import (#16831)
hoegertn Nov 19, 2021
d44d0e7
feat(cfnspec): cloudformation spec v49.0.0 (#17585)
aws-cdk-automation Nov 19, 2021
281e63b
chore(aws-cdk-lib): two import styles confuse Rosetta (#17588)
rix0rrr Nov 19, 2021
3af985b
chore: disable rosetta failing on unknown snippets
rix0rrr Nov 19, 2021
a90e959
fix(assets): SAM asset metadata missing from log retention and custom…
mildaniel Nov 19, 2021
fde850d
chore: ignore asset hashes in integ tests by default (#17592)
rix0rrr Nov 19, 2021
d18cd58
chore: upgraded jsii dependencies to version 1.44.2 (#17587)
otaviomacedo Nov 19, 2021
f5a334c
chore(deps): bump pillow from 6.2.2 to 8.3.2 in /packages/@aws-cdk/aw…
dependabot[bot] Nov 19, 2021
79a674e
chore: update jsii to 1.45.0 (#17596)
rix0rrr Nov 19, 2021
9b2158b
feat(rds): validate backup retention for read replica instances (#17569)
jogold Nov 19, 2021
217db27
chore(release): 1.133.0
Nov 19, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 5 additions & 2 deletions .github/workflows/issue-label-assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: peterwoodworth/issue-action@main
- uses: aws-github-ops/aws-issue-triage-manager@main
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
excluded-expressions: "[CDK CLI Version|TypeScript|Java|Python]"
Expand Down Expand Up @@ -228,5 +228,8 @@ jobs:
{"area":"@aws-cdk/region-info","keywords":["region-info","fact"],"labels":["@aws-cdk/region-info"],"assignees":["skinny85"]},
{"area":"aws-cdk-lib","keywords":["aws-cdk-lib","cdk-v2","v2","ubergen"],"labels":["aws-cdk-lib"],"assignees":["nija-at"]},
{"area":"monocdk","keywords":["monocdk","monocdk-experiment"],"labels":["monocdk"],"assignees":["nija-at"]},
{"area":"@aws-cdk/yaml-cfn","keywords":["(aws-yaml-cfn)","(yaml-cfn)"],"labels":["@aws-cdk/aws-yaml-cfn"],"assignees":["skinny85"]}
{"area":"@aws-cdk/yaml-cfn","keywords":["(aws-yaml-cfn)","(yaml-cfn)"],"labels":["@aws-cdk/aws-yaml-cfn"],"assignees":["skinny85"]},
{"area":"@aws-cdk/aws-apprunner","keywords":["apprunner","aws-apprunner"],"labels":["@aws-cdk/aws-apprunner"],"assignees":["corymhall"]},
{"area":"@aws-cdk/aws-lightsail","keywords":["lightsail","aws-lightsail"],"labels":["@aws-cdk/aws-lightsail"],"assignees":["corymhall"]},
{"area":"@aws-cdk/aws-aps","keywords":["aps","aws-aps","prometheus"],"labels":["@aws-cdk/aws-aps"],"assignees":["corymhall"]}
]
2 changes: 1 addition & 1 deletion .github/workflows/pr-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
uses: actions/checkout@v2

- name: Install & Build prlint
run: cd tools/@aws-cdk/prlint && yarn install --frozen-lockfile && yarn build+test
run: yarn install --frozen-lockfile && cd tools/@aws-cdk/prlint && yarn build+test

- name: Validate
uses: ./tools/@aws-cdk/prlint
Expand Down
19 changes: 7 additions & 12 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@ pull_request_rules:
actions:
comment:
message: Thank you for contributing! Your pull request will be automatically updated and merged (do not update manually, and be sure to [allow changes to be pushed to your fork](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork)).
merge:
strict: smart
queue:
name: default
method: squash
strict_method: merge
commit_message: title+body
conditions:
- base!=release
Expand All @@ -60,11 +59,9 @@ pull_request_rules:
actions:
comment:
message: Thank you for contributing! Your pull request will be automatically updated and merged without squashing (do not update manually, and be sure to [allow changes to be pushed to your fork](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork)).
merge:
strict: smart
# Merge instead of squash
queue:
name: default
method: merge
strict_method: merge
commit_message: title+body
conditions:
- -title~=(WIP|wip)
Expand Down Expand Up @@ -106,12 +103,10 @@ pull_request_rules:
actions:
comment:
message: Thanks Dependabot!
merge:
# 'strict: false' disables Mergify keeping the branch up-to-date from master.
# It's not necessary: Dependabot will do that itself.
# It's not dangerous: GitHub branch protection settings prevent merging stale branches.
strict: false
queue:
name: default
method: squash
commit_message: title+body
conditions:
- -title~=(WIP|wip)
- -label~=(blocked|do-not-merge)
Expand Down
48 changes: 48 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,54 @@

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.

## [1.133.0](https://github.com/aws/aws-cdk/compare/v1.132.0...v1.133.0) (2021-11-19)


### Features

* **apigatewayv2:** websocket api: grant manage connections ([#16872](https://github.com/aws/aws-cdk/issues/16872)) ([10dfa60](https://github.com/aws/aws-cdk/commit/10dfa60a693db6e38a1188effc6eeebc2b5c49b8)), closes [#14828](https://github.com/aws/aws-cdk/issues/14828)
* **assertions:** support assertions over nested stacks ([#16972](https://github.com/aws/aws-cdk/issues/16972)) ([bde44e7](https://github.com/aws/aws-cdk/commit/bde44e7a767b88762ecb1370e605e6e5dfc85b52))
* **aws-eks:** support bottlerocket managed nodegroup ([#17323](https://github.com/aws/aws-cdk/issues/17323)) ([2e6a1a9](https://github.com/aws/aws-cdk/commit/2e6a1a941dc37fdb0cffd79af4887be182eaacd1))
* **cfnspec:** cloudformation spec v48.0.0 ([#17484](https://github.com/aws/aws-cdk/issues/17484)) ([6e8de96](https://github.com/aws/aws-cdk/commit/6e8de96c401c1a019742490850b43e398b561a62))
* **cfnspec:** cloudformation spec v49.0.0 ([#17585](https://github.com/aws/aws-cdk/issues/17585)) ([d44d0e7](https://github.com/aws/aws-cdk/commit/d44d0e7d06bf3b420adae320e0fae4123d731451))
* **cognito:** user pool: send emails using Amazon SES ([#17117](https://github.com/aws/aws-cdk/issues/17117)) ([503720f](https://github.com/aws/aws-cdk/commit/503720ffb90c67ac1a3a0f80faeca87c0428f2d3)), closes [#6768](https://github.com/aws/aws-cdk/issues/6768)
* **ec2:** add G5 instances ([#17499](https://github.com/aws/aws-cdk/issues/17499)) ([eed70a0](https://github.com/aws/aws-cdk/commit/eed70a0bab1885b6293ae8db4dc41b7dfd8724d8)), closes [/docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2](https://github.com/aws//docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html/issues/cfn-ec2)
* **ec2:** add m5n and m5dn instance types ([#17488](https://github.com/aws/aws-cdk/issues/17488)) ([df30d4f](https://github.com/aws/aws-cdk/commit/df30d4f7fa6c1a5c381411904526be17796f2103))
* **ec2:** lookup security group by name ([#17246](https://github.com/aws/aws-cdk/issues/17246)) ([5bf0d07](https://github.com/aws/aws-cdk/commit/5bf0d074854ff90c5d9521f5d7f0fc9ff31c5eb5)), closes [#4241](https://github.com/aws/aws-cdk/issues/4241)
* **ec2:** vpc endpoints for codeguru ([#17498](https://github.com/aws/aws-cdk/issues/17498)) ([21c2d2b](https://github.com/aws/aws-cdk/commit/21c2d2b258f18f32c6adfbe9f3cdd3f7f2424551)), closes [#16788](https://github.com/aws/aws-cdk/issues/16788)
* **ecs:** Add SystemControls to ContainerDefinition ([#16970](https://github.com/aws/aws-cdk/issues/16970)) ([b12a2c6](https://github.com/aws/aws-cdk/commit/b12a2c68063c5739c81c032f32c82bb85c590053)), closes [#16025](https://github.com/aws/aws-cdk/issues/16025)
* **eks:** Allow passing of custom IAM role to Kube Ctl Lambda ([#17196](https://github.com/aws/aws-cdk/issues/17196)) ([8fa293a](https://github.com/aws/aws-cdk/commit/8fa293a79fc8957410637dfd3a4de2069dead36b))
* **iot:** add Action to put objects in S3 Buckets ([#17307](https://github.com/aws/aws-cdk/issues/17307)) ([49b87db](https://github.com/aws/aws-cdk/commit/49b87dbfe5a37abad8880e0325f7aa8218705407)), closes [/github.com/aws/aws-cdk/pull/16681#issuecomment-942233029](https://github.com/aws//github.com/aws/aws-cdk/pull/16681/issues/issuecomment-942233029)
* **iot:** add Action to put records to a Firehose stream ([#17466](https://github.com/aws/aws-cdk/issues/17466)) ([7cb5f2c](https://github.com/aws/aws-cdk/commit/7cb5f2cc8402aad223eb5c50cdf5ee2e0d56150e)), closes [/github.com/aws/aws-cdk/pull/16681#issuecomment-942233029](https://github.com/aws//github.com/aws/aws-cdk/pull/16681/issues/issuecomment-942233029)
* **lambda:** singleton function: access runtime, log group and configure layers and environment ([#17372](https://github.com/aws/aws-cdk/issues/17372)) ([ec5b102](https://github.com/aws/aws-cdk/commit/ec5b102e560e241b21c63773817114fc44f7898a))
* **rds:** validate backup retention for read replica instances ([#17569](https://github.com/aws/aws-cdk/issues/17569)) ([9b2158b](https://github.com/aws/aws-cdk/commit/9b2158bf9228a876d8f434dd5e025dbb74dbe4d5)), closes [#17356](https://github.com/aws/aws-cdk/issues/17356)
* warn users when deprecated elements are used ([#17328](https://github.com/aws/aws-cdk/issues/17328)) ([3721358](https://github.com/aws/aws-cdk/commit/3721358fa1501e42b3514b8a8f15f05c9615f149))
* **redshift:** Add support for distStyle, distKey, sortStyle and sortKey to Table ([#17135](https://github.com/aws/aws-cdk/issues/17135)) ([a137cd1](https://github.com/aws/aws-cdk/commit/a137cd13a90cc3bfdb8207bd8764e2eb05836126)), closes [#17125](https://github.com/aws/aws-cdk/issues/17125)
* **servicecatalog:** support local launch role name in launch role constraint ([#17371](https://github.com/aws/aws-cdk/issues/17371)) ([b307b69](https://github.com/aws/aws-cdk/commit/b307b6996ed13b1f2dedeb41d29409183becb969))
* **stepfunctions-tasks:** Support `DynamoAttributeValue.listFromJsonPath` ([#17376](https://github.com/aws/aws-cdk/issues/17376)) ([bc10e6f](https://github.com/aws/aws-cdk/commit/bc10e6ffb6164c212336ada745923e91adb8fe05)), closes [#17375](https://github.com/aws/aws-cdk/issues/17375)


### Bug Fixes

* **apigateway:** SAM CLI asset metadata missing from SpecRestApi ([#17293](https://github.com/aws/aws-cdk/issues/17293)) ([841cf99](https://github.com/aws/aws-cdk/commit/841cf990001dd64605873a65b8a155e37fc4541f)), closes [#14593](https://github.com/aws/aws-cdk/issues/14593)
* **assets:** SAM asset metadata missing from log retention and custom resource provider functions ([#17551](https://github.com/aws/aws-cdk/issues/17551)) ([a90e959](https://github.com/aws/aws-cdk/commit/a90e959618fede4ea871bf5d36147a65f4ba9da8))
* **autoscaling:** add timezone property to Scheduled Action ([#17330](https://github.com/aws/aws-cdk/issues/17330)) ([3154a58](https://github.com/aws/aws-cdk/commit/3154a58bfc5ae4b845994c7a0ab45771f5af4cd0))
* **aws-codebuild:** add @aws-cdk/asserts to package deps ([#17435](https://github.com/aws/aws-cdk/issues/17435)) ([9c77e94](https://github.com/aws/aws-cdk/commit/9c77e941252ad16a2744577b6333ee5054302a30))
* **aws-lambda-event-sources:** `Function.addEventSource` fails for `ManagedKafkaEventSource` typed parameters ([#17490](https://github.com/aws/aws-cdk/issues/17490)) ([a474ee8](https://github.com/aws/aws-cdk/commit/a474ee8fb6b708f4147122deeacb8fc13debaed4))
* **aws-logs:** include new `policy.ts` exports in `index.ts` exports ([#17403](https://github.com/aws/aws-cdk/issues/17403)) ([a391468](https://github.com/aws/aws-cdk/commit/a39146840a10472c8afee71bf1a1cfc3cacb5f72))
* **cli:** improve asset publishing times by up to 30% ([#17409](https://github.com/aws/aws-cdk/issues/17409)) ([40d6a48](https://github.com/aws/aws-cdk/commit/40d6a48eb31b09edf2ba0ea1b0a1e212156c1784)), closes [#17266](https://github.com/aws/aws-cdk/issues/17266)
* **cli:** skip bundling for the 'watch' command ([#17455](https://github.com/aws/aws-cdk/issues/17455)) ([af61b7f](https://github.com/aws/aws-cdk/commit/af61b7f2fec17d4f817e78db21d09d471d8e2baf)), closes [#17391](https://github.com/aws/aws-cdk/issues/17391)
* **cloudwatch:** render agnostic alarms in legacy style ([#17538](https://github.com/aws/aws-cdk/issues/17538)) ([7c50ef8](https://github.com/aws/aws-cdk/commit/7c50ef8de4cad7237b442c43460695518bfb1fdc))
* **ec2:** Duplicate EIP when NatGatewayProps.eipAllocationIds is provided ([#17235](https://github.com/aws/aws-cdk/issues/17235)) ([050f6fa](https://github.com/aws/aws-cdk/commit/050f6fa74a3888fff2a495042c0ebad368775ab1))
* **eks:** Allow specifying subnets in Pinger ([#17429](https://github.com/aws/aws-cdk/issues/17429)) ([6acee52](https://github.com/aws/aws-cdk/commit/6acee5219eef91ac3686f9b6722877cea5fff6e5))
* **iot:** unable to add the same lambda function to two TopicRule Actions ([#17521](https://github.com/aws/aws-cdk/issues/17521)) ([eda1640](https://github.com/aws/aws-cdk/commit/eda1640fcaf6375d7edc5f8edcb5d69c82d130a1)), closes [#17508](https://github.com/aws/aws-cdk/issues/17508)
* **kinesis:** add required rights to trigger Lambda from Kinesis. Fixes issue [#17312](https://github.com/aws/aws-cdk/issues/17312). ([#17358](https://github.com/aws/aws-cdk/issues/17358)) ([0bfc15c](https://github.com/aws/aws-cdk/commit/0bfc15c991cc3373bc7c1b0cd1f5e9241398ac2c))
* **lambda:** SAM CLI asset metadata missing from image Functions ([#17368](https://github.com/aws/aws-cdk/issues/17368)) ([f52d9bf](https://github.com/aws/aws-cdk/commit/f52d9bf13d2bb3c066ba227259a2d98a5947982b))
* **NestedStack:** add asset metadata to NestedStack resources for local tooling ([#17343](https://github.com/aws/aws-cdk/issues/17343)) ([4ba40dc](https://github.com/aws/aws-cdk/commit/4ba40dcf275bbed0dbcca4cf6cf295edde5e9894))
* **redshift:** tableNameSuffix evaluation ([#17213](https://github.com/aws/aws-cdk/issues/17213)) ([f7c3217](https://github.com/aws/aws-cdk/commit/f7c3217a731804f014526e10b414a9e7f27d575b)), closes [#17064](https://github.com/aws/aws-cdk/issues/17064)
* **sns-subscriptions:** enable cross region subscriptions to sqs and lambda ([#17273](https://github.com/aws/aws-cdk/issues/17273)) ([3cd8d48](https://github.com/aws/aws-cdk/commit/3cd8d481906fc4e3abdd1211908844e5b8bd2509)), closes [#7044](https://github.com/aws/aws-cdk/issues/7044) [#13707](https://github.com/aws/aws-cdk/issues/13707)
* **ssm:** fix service principals for all regions since ap-east-1 ([#17047](https://github.com/aws/aws-cdk/issues/17047)) ([5900548](https://github.com/aws/aws-cdk/commit/59005483ea1224a147db479471f541e2efb9ba23)), closes [#16188](https://github.com/aws/aws-cdk/issues/16188)

## [1.132.0](https://github.com/aws/aws-cdk/compare/v1.131.0...v1.132.0) (2021-11-09)


Expand Down
10 changes: 9 additions & 1 deletion allowed-breaking-changes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,12 @@ strengthened:@aws-cdk/aws-lambda-event-sources.ManagedKafkaEventSourceProps

# Remove IO2 from autoscaling EbsDeviceVolumeType. This value is not supported
# at the moment and was not supported in the past.
removed:@aws-cdk/aws-autoscaling.EbsDeviceVolumeType.IO2
removed:@aws-cdk/aws-autoscaling.EbsDeviceVolumeType.IO2

# Remove autoTerminationPolicy from stepfunctions-tasks EmrCreateClusterProps. This value is not supported by stepfunctions at the moment and was not supported in the past.
removed:@aws-cdk/aws-stepfunctions-tasks.EmrCreateCluster.AutoTerminationPolicyProperty
removed:@aws-cdk/aws-stepfunctions-tasks.EmrCreateClusterProps.autoTerminationPolicy

# Changed property securityGroupId to optional because either securityGroupId or
# securityGroupName is required. Therefore securityGroupId is no longer mandatory.
weakened:@aws-cdk/cloud-assembly-schema.SecurityGroupContextQuery
5 changes: 1 addition & 4 deletions pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,7 @@ function lerna_scopes() {
done
}

# Compile examples with respect to "decdk" directory, as all packages will
# be symlinked there so they can all be included.
echo "Extracting code samples" >&2
scripts/run-rosetta.sh $TMPDIR/jsii.txt
scripts/run-rosetta.sh --infuse --pkgs-from $TMPDIR/jsii.txt

# Jsii packaging (all at once using jsii-pacmak)
echo "Packaging jsii modules" >&2
Expand Down
36 changes: 12 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
"fs-extra": "^9.1.0",
"graceful-fs": "^4.2.8",
"jest-junit": "^13.0.0",
"jsii-diff": "^1.42.0",
"jsii-pacmak": "^1.42.0",
"jsii-reflect": "^1.42.0",
"jsii-rosetta": "^1.42.0",
"jsii-diff": "^1.45.0",
"jsii-pacmak": "^1.45.0",
"jsii-reflect": "^1.45.0",
"jsii-rosetta": "^1.45.0",
"lerna": "^4.0.0",
"patch-package": "^6.4.7",
"standard-version": "^9.3.2",
Expand Down Expand Up @@ -71,28 +71,14 @@
"nohoist": [
"**/jszip",
"**/jszip/**",
"@aws-cdk/assertions-alpha/colors",
"@aws-cdk/assertions-alpha/colors/**",
"@aws-cdk/assertions-alpha/diff",
"@aws-cdk/assertions-alpha/diff/**",
"@aws-cdk/assertions-alpha/fast-deep-equal",
"@aws-cdk/assertions-alpha/fast-deep-equal/**",
"@aws-cdk/assertions-alpha/string-width",
"@aws-cdk/assertions-alpha/string-width/**",
"@aws-cdk/assertions-alpha/table",
"@aws-cdk/assertions-alpha/table/**",
"@aws-cdk/assertions-alpha/fs-extra",
"@aws-cdk/assertions-alpha/fs-extra/**",
"@aws-cdk/assertions/fs-extra",
"@aws-cdk/assertions/fs-extra/**",
"@aws-cdk/aws-amplify-alpha/yaml",
"@aws-cdk/aws-amplify-alpha/yaml/**",
"@aws-cdk/assertions/colors",
"@aws-cdk/assertions/colors/**",
"@aws-cdk/assertions/diff",
"@aws-cdk/assertions/diff/**",
"@aws-cdk/assertions/fast-deep-equal",
"@aws-cdk/assertions/fast-deep-equal/**",
"@aws-cdk/assertions/string-width",
"@aws-cdk/assertions/string-width/**",
"@aws-cdk/assertions/table",
"@aws-cdk/assertions/table/**",
"@aws-cdk/aws-iot-actions-alpha/case",
"@aws-cdk/aws-iot-actions-alpha/case/**",
"@aws-cdk/aws-amplify/yaml",
"@aws-cdk/aws-amplify/yaml/**",
"@aws-cdk/aws-codebuild/yaml",
Expand All @@ -107,6 +93,8 @@
"@aws-cdk/aws-eks/yaml/**",
"@aws-cdk/aws-events-targets/aws-sdk",
"@aws-cdk/aws-events-targets/aws-sdk/**",
"@aws-cdk/aws-iot-actions/case",
"@aws-cdk/aws-iot-actions/case/**",
"@aws-cdk/aws-s3-deployment/case",
"@aws-cdk/aws-s3-deployment/case/**",
"@aws-cdk/cloud-assembly-schema/jsonschema",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as ecs from '@aws-cdk/aws-ecs';
import * as cdk from '@aws-cdk/core';
import { Service } from '../service';
import { Service, ConnectToProps } from '../service';

// keep this import separate from other imports to reduce chance for merge conflicts with v2-main
// eslint-disable-next-line no-duplicate-imports, import/order
Expand Down Expand Up @@ -225,8 +225,9 @@ export abstract class ServiceExtension {
*
* @param service - The other service to connect to.
*/
public connectToService(service: Service) {
public connectToService(service: Service, connectToProps: ConnectToProps) {
service = service;
connectToProps = connectToProps;
}
}

Expand Down
17 changes: 15 additions & 2 deletions packages/@aws-cdk-containers/ecs-service-extensions/lib/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,19 @@ import { ServiceDescription } from './service-description';
// eslint-disable-next-line no-duplicate-imports, import/order
import { Construct } from '@aws-cdk/core';

/**
* connectToProps will have all the extra parameters which are required for connecting services.
*/
export interface ConnectToProps {
/**
* local_bind_port is the local port that this application should
* use when calling the upstream service in ECS Consul Mesh Extension
* Currently, this parameter will only be used in the ECSConsulMeshExtension
* https://github.com/aws-ia/ecs-consul-mesh-extension
*/
readonly local_bind_port?: number;
}

/**
* The settings for an ECS Service.
*/
Expand Down Expand Up @@ -313,10 +326,10 @@ export class Service extends Construct {
*
* @param service
*/
public connectTo(service: Service) {
public connectTo(service: Service, connectToProps: ConnectToProps = {}) {
for (const extensions in this.serviceDescription.extensions) {
if (this.serviceDescription.extensions[extensions]) {
this.serviceDescription.extensions[extensions].connectToService(service);
this.serviceDescription.extensions[extensions].connectToService(service, connectToProps);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"@types/jest": "^27.0.2",
"@aws-cdk/cdk-build-tools": "0.0.0",
"@aws-cdk/cdk-integ-tools": "0.0.0",
"@aws-cdk/aws-autoscaling": "0.0.0",
"@aws-cdk/cfn2ts": "0.0.0",
"jest": "^27.3.1",
"@aws-cdk/pkglint": "0.0.0",
Expand Down
Loading