Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: forward merge 'master' into 'v2-main' #18679

Merged
merged 66 commits into from
Jan 29, 2022
Merged
Show file tree
Hide file tree
Changes from 62 commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
c6fe406
docs(cfnspec): update CloudFormation documentation (#18622)
aws-cdk-automation Jan 24, 2022
67f3b8d
chore(iam): migrate tests to `assertions` (#18488)
rix0rrr Jan 24, 2022
e0b7d99
chore(apigateway): migrated tests to `assertions` (#18562)
otaviomacedo Jan 24, 2022
43f232d
feat(s3): custom role for the bucket notifications handler (#17794)
otaviomacedo Jan 24, 2022
f8e6599
chore: make a few more examples compile (#18605)
kaizencc Jan 24, 2022
b48ff22
docs(pipelines): point Step.sequence users to addStepDependency for m…
kaizencc Jan 24, 2022
e743525
fix(synthetics): correct getbucketlocation policy (#13573)
csumpter Jan 24, 2022
cb86e30
feat(assertions): support assertions on stack messages (#18521)
kaizencc Jan 24, 2022
e10391b
chore: migrate comcalvi's modules to assertions (#18202)
kaizencc Jan 24, 2022
7294118
feat(ec2): session timeout and login banner for client vpn endpoint (…
jogold Jan 24, 2022
fe97152
chore(events): migrate tests to use the Assertions module (#18608)
skinny85 Jan 24, 2022
9226714
chore(eks): migrate tests to `assertions` (#18594)
otaviomacedo Jan 24, 2022
d71b931
chore(cloudtrail): enforceSSL on trail s3 bucket (#18270)
PatMyron Jan 24, 2022
bde1795
fix(elasticloadbalancingv2): ApplicationLoadBalancer.logAccessLogs do…
njlynch Jan 24, 2022
694c22b
chore(codebuild): migrate tests to use the Assertions module (#18607)
skinny85 Jan 24, 2022
67bf448
chore(rds): migrate tests to use the Assertions module (#18606)
skinny85 Jan 25, 2022
0ca81a1
feat(aws-ecs-patterns): adding support for custom HealthCheck while c…
VarshaVid Jan 25, 2022
9bea576
chore(apprunner): remove unnecessary dependency (#18631)
kaizencc Jan 25, 2022
903c4b6
feat(servicecatalog): Create TagOptions Construct (#18314)
arcrank Jan 25, 2022
db0660e
docs(cfnspec): update CloudFormation documentation (#18639)
aws-cdk-automation Jan 25, 2022
9ed263c
fix(secretsmanager): SecretRotation for secret imported by name has i…
njlynch Jan 25, 2022
36d356d
feat(certificatemanager): DnsValidatedCertificate DNS record cleanup …
njlynch Jan 25, 2022
16db963
fix(region-info): incorrect codedeploy service principals (#18505)
Jan 25, 2022
a283a48
feat(cfnspec): cloudformation spec v53.1.0 (#18588)
aws-cdk-automation Jan 25, 2022
290b654
docs(lambda-nodejs): improve esbuild monorepo documentation (#18216)
blimmer Jan 25, 2022
5775e7e
chore(rds): add support for new PostgreSQL minor versions (#18640)
nikovirtala Jan 25, 2022
291963b
chore(assert): deprecate assert, assert-internal, @monocdk-experiment…
kaizencc Jan 25, 2022
2465b51
chore(cdk-integ-tools): move canonicalizeTemplates internal (#18647)
kaizencc Jan 25, 2022
678eede
fix(stepfunctions): task token integration cannot be used with API Ga…
rix0rrr Jan 25, 2022
940d043
fix(s3): add missing safe actions to `grantWrite`, `grantReadWrite` a…
flavioleggio Jan 25, 2022
97a9b51
chore: align module ownership (#18641)
Jan 26, 2022
031c742
chore: fix dotnet -p deprecation warning (#18632)
Plasma Jan 26, 2022
de45453
chore: update autolabeler (#18654)
peterwoodworth Jan 26, 2022
2eda19e
feat(cfnspec): cloudformation spec v53.1.0 (#18658)
aws-cdk-automation Jan 26, 2022
c58e8bb
fix(route53): add RoutingControlArn to HealthCheck patch (#18645)
njlynch Jan 26, 2022
94b0ade
chore(s3): ensure Lambda size doesn't grow too large (#18660)
rix0rrr Jan 26, 2022
77488cf
chore: npm-check-updates && yarn upgrade (#18665)
aws-cdk-automation Jan 26, 2022
9940952
fix(stepfunctions-tasks): cluster creation fails with unresolved rele…
otaviomacedo Jan 26, 2022
d93e091
docs(cfnspec): update CloudFormation documentation (#18678)
aws-cdk-automation Jan 27, 2022
ef3538d
chore(release): 1.141.0
Jan 27, 2022
f385059
feat(cfnspec): cloudformation spec v53.1.0 (#18680)
aws-cdk-automation Jan 27, 2022
c872e81
chore(release): 1.141.0 (#18682)
mergify[bot] Jan 27, 2022
8934ad9
Merge branch 'master' into merge-back/1.141.0
mergify[bot] Jan 27, 2022
2df75b2
chore(merge-back): 1.141.0 (#18690)
mergify[bot] Jan 27, 2022
9b815d4
chore(cfnspec): outdated spec complaints on every run (#18689)
rix0rrr Jan 27, 2022
6f27bd5
chore: make all examples compile (#18651)
kaizencc Jan 27, 2022
162909f
chore: turn on strict mode everywhere (#18652)
kaizencc Jan 27, 2022
2eeaebc
feat(iotevents): allow setting description, evaluation method and key…
yamatatsu Jan 27, 2022
554645d
chore(servicecatalog): cleanup unit tests for TagOptions (#18672)
arcrank Jan 27, 2022
76b9832
chore: optimize autolabeler (#18702)
peterwoodworth Jan 28, 2022
9de9bfe
docs(cfnspec): update CloudFormation documentation (#18708)
aws-cdk-automation Jan 28, 2022
e64de67
feat(cloudfront-origins): extend `readTimeout` maximum value for `Htt…
flavioleggio Jan 28, 2022
30e2233
feat(lambda-python): support setting environment vars for bundling (#…
setu4993 Jan 28, 2022
7ac7221
fix(aws-lambda-nodejs): pre compilation with tsc is not being run (#1…
hassanazharkhan Jan 28, 2022
009d689
fix(pipelines): undeployable due to dependency cycle (#18686)
rix0rrr Jan 28, 2022
6860fec
docs(assertions): publish migration script (#18653)
kaizencc Jan 28, 2022
872277b
feat(eks): cluster logging (#18112)
choryuidentify Jan 28, 2022
fc5b7c6
chore(lambda-python): remove Pillow dependency (#18722)
rix0rrr Jan 28, 2022
32b6243
chore(lambda-layer-awscli): contains a CLI version with a CVE (#18727)
rix0rrr Jan 28, 2022
55aab28
Merge branch 'v2-main' into v2/forward-merge-20220127
corymhall Jan 28, 2022
f6575c1
automatic pkglint fixes
corymhall Jan 28, 2022
5ce2146
chore: no-op change to trigger build
corymhall Jan 28, 2022
c4b58db
chore(glue): fix broken tests from merge
corymhall Jan 28, 2022
0a6daaa
chore: fixing more tests broken by merge
corymhall Jan 29, 2022
e8bd598
chore: fixing build failures
corymhall Jan 29, 2022
14254e6
chore: fixing build issues caused by rosetta
corymhall Jan 29, 2022
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
  •  
  •  
  •  
49 changes: 45 additions & 4 deletions .github/workflows/issue-label-assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
types: [opened, edited]

jobs:
test:
issue-triage-manager:
permissions:
issues: write
pull-requests: write
Expand All @@ -17,16 +17,57 @@ jobs:
- uses: aws-github-ops/aws-issue-triage-manager@main
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
target: "issues"
excluded-expressions: "[CDK CLI Version|TypeScript|Java|Python]"
area-is-keyword: true
included-labels: "[needs-triage]"
excluded-labels: "[p1|p2|p0|effort-small|effort-medium|effort-large|guidance]"
default-area: ${{ env.OSDS_DEVS }}
parameters: ${{ env.AREA_PARAMS }}
guidance-triage-manager:
permissions:
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: aws-github-ops/aws-issue-triage-manager@main
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
target: "issues"
excluded-expressions: "[CDK CLI Version|TypeScript|Java|Python]"
area-is-keyword: true
included-labels: "[guidance]"
default-area: ${{ env.OSDS_DEVS }}
parameters: >
[{"area":"guidance","keywords":["guidance"]}]
pr-triage-manager:
permissions:
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: aws-github-ops/aws-issue-triage-manager@main
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
target: "pull-requests"
area-is-keyword: true
excluded-labels: "[contribution/core]"
parameters: ${{ env.AREA_PARAMS }}

env:
OSDS_DEVS: >
{
"assignees":["NGL321","peterwoodworth","ryparker"]
}

AREA_PARAMS: >
[
{"area":"package/tools","keywords":["cli","command line","init","synth","diff","bootstrap"],"labels":["package/tools"],"assignees":["rix0rrr"]},
{"area":"@aws-cdk/alexa-ask","keywords":["alexa-ask","alexa", "cfnskill"],"labels":["@aws-cdk/alexa-ask"],"assignees":["madeline-k"]},
{"area":"@aws-cdk/app-delivery","keywords":["app-delivery","PipelineDeployStackAction"],"labels":["@aws-cdk/app-delivery"],"assignees":["skinny85"]},
{"area":"@aws-cdk/assert","keywords":["assert"],"labels":["@aws-cdk/assert"],"assignees":["kaizen3031593"]},
{"area":"@aws-cdk/assertions","keywords":["assertions"],"labels":["@aws-cdk/assertions"],"assignees":["kaizen3031593"]},
{"area":"@aws-cdk/assets","keywords":["assets","staging"],"labels":["@aws-cdk/assets"],"assignees":["eladb"]},
{"area":"@aws-cdk/assets","keywords":["assets","staging"],"labels":["@aws-cdk/assets"],"assignees":["otaviomacedo"]},
{"area":"@aws-cdk/aws-accessanalyzer","keywords":["aws-accessanalyzer","accessanalyzer","cfnanalyzer"],"labels":["@aws-cdk/aws-accessanalyzer"],"assignees":["skinny85"]},
{"area":"@aws-cdk/aws-acmpca","keywords":["aws-acmpca","acmpca","certificateauthority"],"labels":["@aws-cdk/aws-acmpca"],"assignees":["skinny85"]},
{"area":"@aws-cdk/aws-amazonmq","keywords":["aws-amazonmq","amazonmq","cfnbroker"],"labels":["@aws-cdk/aws-amazonmq"],"assignees":["otaviomacedo"]},
Expand Down Expand Up @@ -92,7 +133,7 @@ jobs:
{"area":"@aws-cdk/aws-dynamodb-global","keywords":["aws-dynamodb-global","dynamodb global"],"labels":["@aws-cdk/aws-dynamodb-global"],"assignees":["skinny85"]},
{"area":"@aws-cdk/aws-ec2","keywords":["aws-ec2","ec2","vpc","privatesubnet","publicsubnet","vpngateway","vpnconnection","networkacl"],"labels":["@aws-cdk/aws-ec2"],"assignees":["njlynch"]},
{"area":"@aws-cdk/aws-ecr","keywords":["aws-ecr","ecr"],"labels":["@aws-cdk/aws-ecr"],"assignees":["madeline-k"]},
{"area":"@aws-cdk/aws-ecr-assets","keywords":["aws-ecr-assets","ecrassets"],"labels":["@aws-cdk/aws-ecr-assets"],"assignees":["eladb"]},
{"area":"@aws-cdk/aws-ecr-assets","keywords":["aws-ecr-assets","ecrassets"],"labels":["@aws-cdk/aws-ecr-assets"],"assignees":["madeline-k"]},
{"area":"@aws-cdk/aws-ecs","keywords":["(aws-ecs)","(ecs)"],"labels":["@aws-cdk/aws-ecs"],"assignees":["madeline-k"]},
{"area":"@aws-cdk/aws-ecs-patterns","keywords":["(aws-ecs-patterns)","(ecs-patterns)"],"labels":["@aws-cdk/aws-ecs-patterns"],"assignees":["madeline-k"]},
{"area":"@aws-cdk/aws-efs","keywords":["aws-efs","efs","accesspoint"],"labels":["@aws-cdk/aws-efs"],"assignees":["corymhall"]},
Expand Down Expand Up @@ -224,7 +265,7 @@ jobs:
{"area":"@aws-cdk/custom-resources","keywords":["custom-resource","provider"],"labels":["@aws-cdk/custom-resources"],"assignees":["rix0rrr"]},
{"area":"@aws-cdk/cx-api","keywords":["cx-api","cloudartifact","cloudassembly"],"labels":["@aws-cdk/cx-api"],"assignees":["rix0rrr"]},
{"area":"@aws-cdk/aws-lambda-layer-awscli","keywords":["(aws-lambda-layer-awscli)","(lambda-layer-awscli)"],"labels":["@aws-cdk/aws-lambda-layer-awscli"],"assignees":["rix0rrr"]},
{"area":"@aws-cdk/aws-lambda-layer-kubectl","keywords":["(aws-lambda-layer-kubectl)","(lambda-layer-kubectl)"],"labels":["@aws-cdk/aws-lambda-layer-kubectl"],"assignees":["eladb"]},
{"area":"@aws-cdk/aws-lambda-layer-kubectl","keywords":["(aws-lambda-layer-kubectl)","(lambda-layer-kubectl)"],"labels":["@aws-cdk/aws-lambda-layer-kubectl"],"assignees":["otaviomacedo"]},
{"area":"@aws-cdk/pipelines","keywords":["pipelines","cdk-pipelines","sourceaction","synthaction"],"labels":["@aws-cdk/pipelines"],"assignees":["rix0rrr"]},
{"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":["njlynch"]},
Expand Down
40 changes: 40 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,46 @@

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.141.0](https://github.com/aws/aws-cdk/compare/v1.140.0...v1.141.0) (2022-01-27)


### ⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES

* **servicecatalog:** `TagOptions` now have `scope` and `props` argument in constructor, and data is now passed via a `allowedValueForTags` field in props

### Features

* **assertions:** support assertions on stack messages ([#18521](https://github.com/aws/aws-cdk/issues/18521)) ([cb86e30](https://github.com/aws/aws-cdk/commit/cb86e30391aefdda13e6b0d4b3be2fedf76477c8)), closes [#18347](https://github.com/aws/aws-cdk/issues/18347)
* **assertions:** support for conditions ([#18577](https://github.com/aws/aws-cdk/issues/18577)) ([55ff1b2](https://github.com/aws/aws-cdk/commit/55ff1b2e69f1b42bbbecd9dc95e17f2ffc35f94e)), closes [#18560](https://github.com/aws/aws-cdk/issues/18560)
* **aws-ecs-patterns:** adding support for custom HealthCheck while creating QueueProcessingFargateService ([#18219](https://github.com/aws/aws-cdk/issues/18219)) ([0ca81a1](https://github.com/aws/aws-cdk/commit/0ca81a118d3d54b87d2d05a53fb72e4efe03b591)), closes [#15636](https://github.com/aws/aws-cdk/issues/15636)
* **certificatemanager:** DnsValidatedCertificate DNS record cleanup ([#18311](https://github.com/aws/aws-cdk/issues/18311)) ([36d356d](https://github.com/aws/aws-cdk/commit/36d356d0b3e422f7451f4b0dd2f971aa0378210e)), closes [#3333](https://github.com/aws/aws-cdk/issues/3333) [#7063](https://github.com/aws/aws-cdk/issues/7063)
* **cfnspec:** cloudformation spec v53.1.0 ([#18588](https://github.com/aws/aws-cdk/issues/18588)) ([a283a48](https://github.com/aws/aws-cdk/commit/a283a482dead64e94383ba21cc7908f10c4459a2))
* **cfnspec:** cloudformation spec v53.1.0 ([#18658](https://github.com/aws/aws-cdk/issues/18658)) ([2eda19e](https://github.com/aws/aws-cdk/commit/2eda19e510374426190531810cff518d582644ad))
* **ec2:** session timeout and login banner for client vpn endpoint ([#18590](https://github.com/aws/aws-cdk/issues/18590)) ([7294118](https://github.com/aws/aws-cdk/commit/72941180a7188e5560a58f1509554ef038544ec4))
* **ecs:** add `BaseService.fromServiceArnWithCluster()` for use in CodePipeline ([#18530](https://github.com/aws/aws-cdk/issues/18530)) ([3d192a9](https://github.com/aws/aws-cdk/commit/3d192a9a832857cb246d719a68b4b8f40d807fed))
* **iotevents:** add DetectorModel L2 Construct ([#18049](https://github.com/aws/aws-cdk/issues/18049)) ([d0960f1](https://github.com/aws/aws-cdk/commit/d0960f181e5f66daa1eb53be2190b7e62bd66030)), closes [#17711](https://github.com/aws/aws-cdk/issues/17711) [#17711](https://github.com/aws/aws-cdk/issues/17711)
* **lambda-nodejs:** Allow setting mainFields for esbuild ([#18569](https://github.com/aws/aws-cdk/issues/18569)) ([0e78aeb](https://github.com/aws/aws-cdk/commit/0e78aeb9ad62226e67f72f23c0008ba749b3a73b))
* **s3:** custom role for the bucket notifications handler ([#17794](https://github.com/aws/aws-cdk/issues/17794)) ([43f232d](https://github.com/aws/aws-cdk/commit/43f232ddc0a18e9a2fada2fbead758ab3538adc2)), closes [#9918](https://github.com/aws/aws-cdk/issues/9918) [#13241](https://github.com/aws/aws-cdk/issues/13241)
* **servicecatalog:** Create TagOptions Construct ([#18314](https://github.com/aws/aws-cdk/issues/18314)) ([903c4b6](https://github.com/aws/aws-cdk/commit/903c4b6e4adf676fae42265a048dddd0e1386542)), closes [#17753](https://github.com/aws/aws-cdk/issues/17753)


### Bug Fixes

* **apigatewayv2:** websocket api: allow all methods in grant manage connections ([#18544](https://github.com/aws/aws-cdk/issues/18544)) ([41c8a3f](https://github.com/aws/aws-cdk/commit/41c8a3fa6b50a94affb65286d862056050d02e84)), closes [#18410](https://github.com/aws/aws-cdk/issues/18410)
* **aws-apigateway:** cross region authorizer ref ([#18444](https://github.com/aws/aws-cdk/issues/18444)) ([0e0a092](https://github.com/aws/aws-cdk/commit/0e0a0922ba1d538abdfeb61a260c262109115038))
* **cli:** hotswap should wait for lambda's `updateFunctionCode` to complete ([#18536](https://github.com/aws/aws-cdk/issues/18536)) ([0e08eeb](https://github.com/aws/aws-cdk/commit/0e08eebd2f13ab0da6cac7b91288845cad530192)), closes [#18386](https://github.com/aws/aws-cdk/issues/18386) [#18386](https://github.com/aws/aws-cdk/issues/18386)
* **ecs:** only works in 'aws' partition ([#18496](https://github.com/aws/aws-cdk/issues/18496)) ([525ac07](https://github.com/aws/aws-cdk/commit/525ac07369e33e2f36b7a0eea7913e43649484db)), closes [#18429](https://github.com/aws/aws-cdk/issues/18429)
* **ecs-patterns:** Fix Network Load Balancer Port assignments in ECS Patterns ([#18157](https://github.com/aws/aws-cdk/issues/18157)) ([1393729](https://github.com/aws/aws-cdk/commit/13937299596d0b858d56e9116bf7a7dbe039d4b4)), closes [#18073](https://github.com/aws/aws-cdk/issues/18073)
* **elasticloadbalancingv2:** ApplicationLoadBalancer.logAccessLogs does not grant all necessary permissions ([#18558](https://github.com/aws/aws-cdk/issues/18558)) ([bde1795](https://github.com/aws/aws-cdk/commit/bde17950293309b7449fc412301634770b47111f)), closes [#18367](https://github.com/aws/aws-cdk/issues/18367)
* **pipelines:** CodeBuild projects are hard to tell apart ([#18492](https://github.com/aws/aws-cdk/issues/18492)) ([f6dab8d](https://github.com/aws/aws-cdk/commit/f6dab8d8c5aa4cf56d6846e2d13c1d5641136f72))
* **region-info:** incorrect codedeploy service principals ([#18505](https://github.com/aws/aws-cdk/issues/18505)) ([16db963](https://github.com/aws/aws-cdk/commit/16db9639e86f1fd6f26a1054f4d6df24801d0f05))
* **route53:** add RoutingControlArn to HealthCheck patch ([#18645](https://github.com/aws/aws-cdk/issues/18645)) ([c58e8bb](https://github.com/aws/aws-cdk/commit/c58e8bbbcb0a66c37b65cddc1da8d19dfbf26b4f)), closes [#18570](https://github.com/aws/aws-cdk/issues/18570)
* **s3:** add missing safe actions to `grantWrite`, `grantReadWrite` and `grantPut` methods ([#18494](https://github.com/aws/aws-cdk/issues/18494)) ([940d043](https://github.com/aws/aws-cdk/commit/940d0439cd347f06d755f3e3dd0582470749f710)), closes [#13616](https://github.com/aws/aws-cdk/issues/13616)
* **secretsmanager:** SecretRotation for secret imported by name has incorrect permissions ([#18567](https://github.com/aws/aws-cdk/issues/18567)) ([9ed263c](https://github.com/aws/aws-cdk/commit/9ed263cde0b41959ff267720c0978bfe7449337a)), closes [#18424](https://github.com/aws/aws-cdk/issues/18424)
* **stepfunctions:** task token integration cannot be used with API Gateway ([#18595](https://github.com/aws/aws-cdk/issues/18595)) ([678eede](https://github.com/aws/aws-cdk/commit/678eeded5d5631dbacff43ead697ecbd3bd4b27d)), closes [#14184](https://github.com/aws/aws-cdk/issues/14184) [#14181](https://github.com/aws/aws-cdk/issues/14181)
* **stepfunctions-tasks:** cluster creation fails with unresolved release labels ([#18288](https://github.com/aws/aws-cdk/issues/18288)) ([9940952](https://github.com/aws/aws-cdk/commit/9940952d67bdf07f3d737dc88676dc7f7c435a12))
* **synthetics:** correct getbucketlocation policy ([#13573](https://github.com/aws/aws-cdk/issues/13573)) ([e743525](https://github.com/aws/aws-cdk/commit/e743525b6379371110d737bb360f637c41d30ca1)), closes [#13572](https://github.com/aws/aws-cdk/issues/13572)

## [1.140.0](https://github.com/aws/aws-cdk/compare/v1.139.0...v1.140.0) (2022-01-20)


Expand Down
9 changes: 8 additions & 1 deletion packages/@aws-cdk/alexa-ask/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,14 @@
]
}
},
"projectReferences": true
"projectReferences": true,
"metadata": {
"jsii": {
"rosetta": {
"strict": true
}
}
}
},
"repository": {
"type": "git",
Expand Down
17 changes: 12 additions & 5 deletions packages/@aws-cdk/app-delivery/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ import * as codepipeline from '@aws-cdk/aws-codepipeline';
import * as codepipeline_actions from '@aws-cdk/aws-codepipeline-actions';
import * as cdk from '@aws-cdk/core';
import * as cicd from '@aws-cdk/app-delivery';
import * as iam from '@aws-cdk/aws-iam';

class MyServiceStackA extends cdk.Stack {}
class MyServiceStackB extends cdk.Stack {}

const app = new cdk.App();

Expand All @@ -77,7 +81,9 @@ const sourceOutput = new codepipeline.Artifact();
const source = new codepipeline_actions.GitHubSourceAction({
actionName: 'GitHub',
output: sourceOutput,
/* ... */
owner: 'myName',
repo: 'myRepo',
oauthToken: cdk.SecretValue.plainText('secret'),
});
pipeline.addStage({
stageName: 'source',
Expand Down Expand Up @@ -129,10 +135,11 @@ deployStage.addAction(deployServiceAAction);
// is passed to CloudFormation and needs the permissions necessary to deploy
// stack. Alternatively you can enable [Administrator](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_job-functions.html#jf_administrator) permissions above,
// users should understand the privileged nature of this role.
deployServiceAAction.addToRolePolicy(new iam.PolicyStatement({
actions: ['service:SomeAction'],
resources: [myResource.myResourceArn],
// add more Action(s) and/or Resource(s) here, as needed
const myResourceArn = 'arn:partition:service:region:account-id:resource-id';
deployServiceAAction.addToDeploymentRolePolicy(new iam.PolicyStatement({
actions: ['service:SomeAction'],
resources: [myResourceArn],
// add more Action(s) and/or Resource(s) here, as needed
}));

const serviceStackB = new MyServiceStackB(app, 'ServiceStackB', { /* ... */ });
Expand Down
9 changes: 8 additions & 1 deletion packages/@aws-cdk/app-delivery/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,14 @@
}
},
"outdir": "dist",
"projectReferences": true
"projectReferences": true,
"metadata": {
"jsii": {
"rosetta": {
"strict": true
}
}
}
},
"scripts": {
"build": "cdk-build",
Expand Down
4 changes: 4 additions & 0 deletions packages/@aws-cdk/app-delivery/test/integ.cicd.expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject",
"s3:PutObjectLegalHold",
"s3:PutObjectRetention",
"s3:PutObjectTagging",
"s3:PutObjectVersionTagging",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down
13 changes: 6 additions & 7 deletions packages/@aws-cdk/assert-internal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,14 @@

---

![cdk-constructs: Experimental](https://img.shields.io/badge/cdk--constructs-experimental-important.svg?style=for-the-badge)
![Deprecated](https://img.shields.io/badge/deprecated-critical.svg?style=for-the-badge)

> The APIs of higher level constructs in this module are experimental and under active development.
> They are subject to non-backward compatible changes or removal in any future version. These are
> not subject to the [Semantic Versioning](https://semver.org/) model and breaking changes will be
> announced in the release notes. This means that while you may use them, you may need to update
> your source code when upgrading to a newer version of this package.
> This API may emit warnings. Backward compatibility is not guaranteed.

If using monocdk, use [@monocdk-experiment/assert](https://www.npmjs.com/package/@monocdk-experiment/assert) instead.
## Replacement recommended

This library has been deprecated. We recommend you use the
[@aws-cdk/assertions](https://docs.aws.amazon.com/cdk/api/v1/docs/assertions-readme.html) module instead.

---

Expand Down
4 changes: 2 additions & 2 deletions packages/@aws-cdk/assert-internal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@
"engines": {
"node": ">= 14.15.0"
},
"stability": "experimental",
"maturity": "experimental",
"stability": "deprecated",
"maturity": "deprecated",
"publishConfig": {
"tag": "latest"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/@aws-cdk/assert/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@
"exclude": true
},
"nozem": false,
"stability": "experimental",
"maturity": "developer-preview",
"stability": "deprecated",
"maturity": "deprecated",
"publishConfig": {
"tag": "latest"
}
Expand Down
Loading