Skip to content

Commit 9c4ce1a

Browse files
authored
Merge branch 'main' into merge-back/2.105.0
2 parents 04cb52d + 02957df commit 9c4ce1a

File tree

490 files changed

+46089
-370541
lines changed

Some content is hidden

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

490 files changed

+46089
-370541
lines changed

.github/workflows/issue-label-assign.yml

-1
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,6 @@ env:
265265
{"area":"@aws-cdk/aws-wafv2","keywords":["wafv2","aws-wafv2"],"labels":["@aws-cdk/aws-wafv2"]},
266266
{"area":"@aws-cdk/aws-workspaces","keywords":["aws-workspaces","workspaces"],"labels":["@aws-cdk/aws-workspaces"]},
267267
{"area":"@aws-cdk/aws-xray","keywords":["aws-xray","xray"],"labels":["@aws-cdk/aws-xray"]},
268-
{"area":"@aws-cdk/cfnspec","keywords":["cfnspec"],"labels":["@aws-cdk/cfnspec"]},
269268
{"area":"@aws-cdk/cloud-assembly-schema","keywords":["cloud-assembly-schema","manifest"],"labels":["@aws-cdk/cloud-assembly-schema"]},
270269
{"area":"@aws-cdk/cloudformation-diff","keywords":["cloudformation-diff","cfn-diff"],"labels":["@aws-cdk/cloudformation-diff"]},
271270
{"area":"@aws-cdk/cloudformation-include","keywords":["cloudformation-include","cfn-include"],"labels":["@aws-cdk/cloudformation-include"]},

.github/workflows/request-cli-integ-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
persist-credentials: false
2020
- name: Find changed cli files
2121
id: changed-cli-files
22-
uses: tj-actions/changed-files@af292f1e845a0377b596972698a8598734eb2796
22+
uses: tj-actions/changed-files@18c8a4ecebe93d32ed8a88e1d0c098f5f68c221b
2323
with:
2424
base_sha: ${{ github.event.pull_request.base.sha }}
2525
files_yaml: |

.github/workflows/spec-update.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ jobs:
3030
- name: Install ncu tool
3131
run: npm -g install lerna npm-check-updates
3232
- name: Run "ncu" for service spec packages
33-
run: lerna exec --parallel ncu -- --upgrade --filter='@aws-cdk/aws-service-spec,@aws-cdk/service-spec-types' --target=latest
33+
run: lerna exec --parallel ncu -- --upgrade --filter='@aws-cdk/aws-service-spec,@aws-cdk/service-spec-importers,@aws-cdk/service-spec-types' --target=latest
3434

3535
# This will ensure the current lockfile is up-to-date with the dependency specifications
3636
- name: Install latest version & update lockfile
37-
run: yarn upgrade @aws-cdk/aws-service-spec @aws-cdk/service-spec-types
37+
run: yarn upgrade @aws-cdk/aws-service-spec @aws-cdk/service-spec-importers @aws-cdk/service-spec-types
3838

3939
# Build @aws-cdk/spec2cdk and run L1 gen script to generate base files for new modules
4040
- name: Build @aws-cdk/spec2cdk

CONTRIBUTING.md

-17
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ let us know if it's not up-to-date (even better, submit a PR with your correcti
2828
- [Rosetta](#rosetta)
2929
- [Tools](#tools-advanced)
3030
- [Linters](#linters)
31-
- [cfn2ts](#cfn2ts)
3231
- [scripts/foreach.sh](#scriptsforeachsh)
3332
- [Jetbrains support (WebStorm/IntelliJ)](#jetbrains-support-webstormintellij)
3433
- [Linking against this repository](#linking-against-this-repository)
@@ -1055,22 +1054,6 @@ Here are a few useful commands:
10551054
evaluate only the rule specified [awslint README](./packages/awslint/README.md)
10561055
for details on include/exclude rule patterns.
10571056

1058-
### cfn2ts
1059-
1060-
This tool is used to generate our low-level CloudFormation resources
1061-
(L1/`CfnFoo`). It is executed as part of the build step of all modules in the
1062-
AWS Construct Library.
1063-
1064-
The tool consults the `cdk-build.cloudformation` key in `package.json` to
1065-
determine which CloudFormation namespace this library represents (e.g.
1066-
`AWS::EC2` is the namespace for `aws-ec2`). We maintain strict 1:1 relationship
1067-
between those.
1068-
1069-
Each module also has an npm script called `cfn2ts`:
1070-
1071-
* `yarn cfn2ts`: generates L1 for a specific module
1072-
* `lerna run cfn2ts`: generates L1 for the entire repo
1073-
10741057
### Jetbrains support (WebStorm/IntelliJ)
10751058

10761059
This project uses lerna and utilizes symlinks inside nested `node_modules` directories. You may encounter an issue during

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ infrastructure definition and share it without worrying about boilerplate logic.
2222
The CDK is available in the following languages:
2323

2424
* JavaScript, TypeScript ([Node.js ≥ 14.15.0](https://nodejs.org/download/release/latest-v14.x/))
25-
* We recommend using a version in [Active LTS](https://nodejs.org/en/about/releases/)
25+
* We recommend using a version in [Active LTS](https://nodejs.org/en/about/previous-releases)
2626
* Python ([Python ≥ 3.6](https://www.python.org/downloads/))
2727
* Java ([Java ≥ 8](https://www.oracle.com/technetwork/java/javase/downloads/index.html) and [Maven ≥ 3.5.4](https://maven.apache.org/download.cgi))
2828
* .NET ([.NET ≥ 6.0](https://dotnet.microsoft.com/download))
@@ -79,7 +79,7 @@ For a detailed walkthrough, see the [tutorial](https://docs.aws.amazon.com/cdk/l
7979

8080
### At a glance
8181

82-
Install or update the [AWS CDK CLI] from npm (requires [Node.js ≥ 14.15.0](https://nodejs.org/download/release/latest-v14.x/)). We recommend using a version in [Active LTS](https://nodejs.org/en/about/releases/)
82+
Install or update the [AWS CDK CLI] from npm (requires [Node.js ≥ 14.15.0](https://nodejs.org/download/release/latest-v14.x/)). We recommend using a version in [Active LTS](https://nodejs.org/en/about/previous-releases)
8383

8484
```sh
8585
npm i -g aws-cdk

aws-cdk.code-workspace

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
"name": "cli-lib-alpha",
1111
"rootPath": "packages/@aws-cdk/cli-lib-alpha"
1212
},
13+
{
14+
"name": "cloudformation-diff",
15+
"rootPath": "packages/@aws-cdk/cloudformation-diff"
16+
},
1317
{
1418
"name": "custom-resource-handlers",
1519
"rootPath": "packages/@aws-cdk/custom-resource-handlers"

lerna.json

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"packages/@aws-cdk/*/lambda-packages/*",
1313
"tools/@aws-cdk/cdk-build-tools",
1414
"tools/@aws-cdk/cdk-release",
15-
"tools/@aws-cdk/cfn2ts",
1615
"tools/@aws-cdk/eslint-plugin",
1716
"tools/@aws-cdk/node-bundle",
1817
"tools/@aws-cdk/pkglint",

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@
8080
"packages/@aws-cdk/*/lambda-packages/*",
8181
"tools/@aws-cdk/cdk-build-tools",
8282
"tools/@aws-cdk/cdk-release",
83-
"tools/@aws-cdk/cfn2ts",
8483
"tools/@aws-cdk/eslint-plugin",
8584
"tools/@aws-cdk/node-bundle",
8685
"tools/@aws-cdk/pkglint",

packages/@aws-cdk-testing/framework-integ/test/aws-ec2/test/integ.vpc-flow-logs-kinesis.js.snapshot/FlowLogsDefaultTestDeployAssert6AFD1854.assets.json

+19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-ec2/test/integ.vpc-flow-logs-kinesis.js.snapshot/FlowLogsDefaultTestDeployAssert6AFD1854.template.json

+36
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-ec2/test/integ.vpc-flow-logs-kinesis.js.snapshot/FlowLogsTestStack.assets.json

+45
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)