Skip to content

Commit 8c535e4

Browse files
authored
2 parents 2ad6683 + 63fbafb commit 8c535e4

File tree

479 files changed

+145236
-45711
lines changed

Some content is hidden

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

479 files changed

+145236
-45711
lines changed

.github/workflows/close-stale-issues.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88

99
jobs:
1010
cleanup:
11+
# this workflow will always fail in forks; bail if this isn't running in the upstream
12+
if: github.repository == 'aws/aws-cdk'
1113
permissions:
1214
issues: write
1315
contents: read

.github/workflows/close-stale-prs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
workflow_dispatch:
66
jobs:
77
close-stale-prs:
8+
# this workflow will always fail in forks; bail if this isn't running in the upstream
9+
if: github.repository == 'aws/aws-cdk'
810
permissions:
911
pull-requests: write
1012
runs-on: ubuntu-latest

.github/workflows/handle-stale-discussions.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77

88
jobs:
99
handle-stale-discussions:
10+
# this workflow will always fail in forks; bail if this isn't running in the upstream
11+
if: github.repository == 'aws/aws-cdk'
1012
name: Handle stale discussions
1113
runs-on: ubuntu-latest
1214
permissions:
@@ -15,4 +17,4 @@ jobs:
1517
- name: Stale discussions action
1618
uses: aws-github-ops/handle-stale-discussions@v1
1719
env:
18-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
20+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

.github/workflows/repo-metrics.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ permissions:
1010

1111
jobs:
1212
build:
13+
# this workflow will always fail in forks; bail if this isn't running in the upstream
14+
if: github.repository == 'aws/aws-cdk'
1315
name: metrics
1416
runs-on: ubuntu-latest
1517

.github/workflows/spec-update.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88

99
jobs:
1010
update-spec:
11+
# this workflow will always fail in forks; bail if this isn't running in the upstream
12+
if: github.repository == 'aws/aws-cdk'
1113
name: Update AWS Service Spec packages
1214
permissions:
1315
contents: read

CHANGELOG.v2.alpha.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
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.90.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.89.0-alpha.0...v2.90.0-alpha.0) (2023-08-04)
6+
7+
8+
### Features
9+
10+
* **glue:** glue tables can include storage parameters ([#24498](https://github.com/aws/aws-cdk/issues/24498)) ([f1df9ab](https://github.com/aws/aws-cdk/commit/f1df9ab2ba29051016f052ffe9a629ca698289b8)), closes [#23132](https://github.com/aws/aws-cdk/issues/23132)
11+
12+
13+
### Bug Fixes
14+
15+
* **app-staging-synthesizer:** misleading error message about environment-agnostic/aware stacks ([#26607](https://github.com/aws/aws-cdk/issues/26607)) ([7e2f335](https://github.com/aws/aws-cdk/commit/7e2f335b60bda549c6abd628863b3535f9e9f153))
16+
* **synthetics:** updated handler validation ([#26569](https://github.com/aws/aws-cdk/issues/26569)) ([1eaec92](https://github.com/aws/aws-cdk/commit/1eaec92cd7cc201c92990ab1f57a8299107327db)), closes [#26540](https://github.com/aws/aws-cdk/issues/26540)
17+
518
## [2.89.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.88.0-alpha.0...v2.89.0-alpha.0) (2023-07-28)
619

720

CHANGELOG.v2.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,26 @@
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.90.0](https://github.com/aws/aws-cdk/compare/v2.89.0...v2.90.0) (2023-08-04)
6+
7+
8+
### Features
9+
10+
* **aws-cdk-lib:** ADOT Lambda Layer v0.31.0 ([#26505](https://github.com/aws/aws-cdk/issues/26505)) ([03c6f6f](https://github.com/aws/aws-cdk/commit/03c6f6fb667a1d7034537b514103215bb949a8da))
11+
* **core:** new RemovalPolicy.RETAIN_EXCEPT_ON_CREATE to only retain resources that have been successfully created ([#26602](https://github.com/aws/aws-cdk/issues/26602)) ([c84666c](https://github.com/aws/aws-cdk/commit/c84666c22658e22956d79b83d0d226278d829f9d)), closes [#26595](https://github.com/aws/aws-cdk/issues/26595)
12+
* **core:** support ssh build arg in DockerImageAsset ([#26356](https://github.com/aws/aws-cdk/issues/26356)) ([7b3d381](https://github.com/aws/aws-cdk/commit/7b3d3813124c6c1dfa912c4fbe20772c84a0ffc6))
13+
* **stepfunctions:** allow setting comment on state machine ([#25858](https://github.com/aws/aws-cdk/issues/25858)) ([6a70b4f](https://github.com/aws/aws-cdk/commit/6a70b4fe83f6ab2571086454909aae13ec9959fb))
14+
* update AWS Service Spec ([#26579](https://github.com/aws/aws-cdk/issues/26579)) ([6c588da](https://github.com/aws/aws-cdk/commit/6c588da2c6b1c2f5a53fb9151c84c7298ce2427e))
15+
16+
17+
### Bug Fixes
18+
19+
* **cli:** specifying --quiet does not suppress asset building and publishing logs ([#26493](https://github.com/aws/aws-cdk/issues/26493)) ([b12bc67](https://github.com/aws/aws-cdk/commit/b12bc676bd5f99843b224839bc32504b47f0599e)), closes [#26265](https://github.com/aws/aws-cdk/issues/26265)
20+
* **ec2:** flowLogName property for FlowLog construct does not work ([#26371](https://github.com/aws/aws-cdk/issues/26371)) ([f910f78](https://github.com/aws/aws-cdk/commit/f910f7840f9ceb02780dc3b08d548fb7a2072e58)), closes [#26370](https://github.com/aws/aws-cdk/issues/26370)
21+
* **ecr:** error handling compatible with aws sdk v3 ([#26608](https://github.com/aws/aws-cdk/issues/26608)) ([300989a](https://github.com/aws/aws-cdk/commit/300989a675bd9fc9c2829c5115efe34e753e0976)), closes [#26433](https://github.com/aws/aws-cdk/issues/26433)
22+
* **ecs:** unclear docs on valid ec2 task definition placement constraints and no validation of input [#25933](https://github.com/aws/aws-cdk/issues/25933) ([#26384](https://github.com/aws/aws-cdk/issues/26384)) ([4c57f45](https://github.com/aws/aws-cdk/commit/4c57f4550917f5a280a5c0a79f2ae03325ef3a66))
23+
* **logs:** LogRetention Custom Resource does not use Node18 ([#26609](https://github.com/aws/aws-cdk/issues/26609)) ([54e64c7](https://github.com/aws/aws-cdk/commit/54e64c7eb0435bd043affe4bbd8dc2fdbddbcffd)), closes [#26461](https://github.com/aws/aws-cdk/issues/26461)
24+
525
## [2.89.0](https://github.com/aws/aws-cdk/compare/v2.88.0...v2.89.0) (2023-07-28)
626

727

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,8 @@ assertions against the deployed infrastructure.
352352
```
353353

354354
Examples:
355-
* [integ.destinations.ts](https://github.com/aws/aws-cdk/blob/master/packages/%40aws-cdk/aws-lambda-destinations/test/integ.destinations.ts#L7)
356-
* [integ.put-events.ts](https://github.com/aws/aws-cdk/blob/main/packages/%40aws-cdk/aws-stepfunctions-tasks/test/eventbridge/integ.put-events.ts)
355+
* [integ.destinations.ts](https://github.com/aws/aws-cdk/blob/main/packages/%40aws-cdk-testing/framework-integ/test/aws-lambda-destinations/test/integ.destinations.ts#L7)
356+
* [integ.put-events.ts](https://github.com/aws/aws-cdk/blob/main/packages/%40aws-cdk-testing/framework-integ/test/aws-stepfunctions-tasks/test/eventbridge/integ.put-events.ts)
357357

358358
**What if you cannot run integration tests**
359359

INTEGRATION_TESTS.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ an integration test for the new feature can ensure that it works and avoid unnec
4949

5050
**3. Involves configuring resource types across services (i.e. integrations)**
5151
For example, you are adding functionality that allows for service x to integrate with service y.
52-
A good example of this is the [aws-stepfunctions-tasks](./packages/@aws-cdk/aws-stepfunctions-tasks) or
53-
[aws-apigatewayv2-integrations](./packages/@aws-cdk/aws-apigatewayv2-integrations) modules. Both of these
52+
A good example of this is the [aws-stepfunctions-tasks](./packages/aws-cdk-lib/aws-stepfunctions-tasks) or
53+
[aws-apigatewayv2-integrations-alpha](./packages/@aws-cdk/aws-apigatewayv2-integrations-alpha) modules. Both of these
5454
have L2 constructs that provide functionality to integrate services.
5555

5656
Sometimes these integrations involve configuring/formatting json/vtl or some other type of data.
@@ -82,8 +82,8 @@ Lambda Function would look like this:
8282

8383
_integ.lambda.ts_
8484
```ts
85-
import * as iam from '@aws-cdk/aws-iam';
86-
import * as cdk from '@aws-cdk/core';
85+
import * as iam from 'aws-cdk-lib/aws-iam';
86+
import * as cdk from 'aws-cdk-lib/core';
8787
import * as lambda from '../lib';
8888
import * as integ from '@aws-cdk/integ-tests-alpha';
8989

@@ -230,11 +230,11 @@ to deploy the Lambda Function _and_ then rerun the assertions to ensure that the
230230
### Assertions
231231

232232
Sometimes it is necessary to perform some form of _assertion_ against the deployed infrastructure to validate that the
233-
test succeeds. A good example of this is the `@aws-cdk/aws-stepfunctions-tasks` module which creates integrations between
233+
test succeeds. A good example of this is the `aws-cdk-lib/aws-stepfunctions-tasks` module which creates integrations between
234234
AWS StepFunctions and other AWS services.
235235

236-
If we look at the [integ.put-events.ts](https://github.com/aws/aws-cdk/blob/main/packages/%40aws-cdk/aws-stepfunctions-tasks/test/eventbridge/integ.put-events.ts)
237-
integration test we can see that we are creating an `@aws-cdk/aws-events.EventBus` along with a `@aws-cdk/aws-stepfunctions.StateMachine`
236+
If we look at the [integ.put-events.ts](https://github.com/aws/aws-cdk/blob/main/packages/%40aws-cdk-testing/framework-integ/test/aws-stepfunctions-tasks/test/eventbridge/integ.put-events.ts)
237+
integration test we can see that we are creating an `aws-cdk-lib/aws-events.EventBus` along with a `aws-cdk-lib/aws-stepfunctions.StateMachine`
238238
which will send an event to the `EventBus`. In a typical integration test we would just deploy the test and the fact that the
239239
infrastructure deployed successfully would be enough of a validation that the test succeeded. In this case though, we ideally
240240
want to validate that the _integration_ connecting `StepFunctions` to the `EventBus` has been setup correctly, and the only
@@ -269,8 +269,8 @@ Not every test requires an assertion. We typically do not need to assert CloudFo
269269
with Encryption, we do not need to assert that Encryption is set on the bucket. We can trust that the CloudFormation behavior works.
270270
Some things you should look for in deciding if the test needs an assertion:
271271

272-
- Integrations between services (i.e. integration libraries like `@aws-cdk/aws-lambda-destinations`, `@aws-cdk/aws-stepfunctions-tasks`, etc)
273-
- Anything that bundles or deploys custom code (i.e. does a Lambda function bundled with `@aws-cdk/aws-lambda-nodejs` still invoke or did we break bundling behavior)
272+
- Integrations between services (i.e. integration libraries like `aws-cdk-lib/aws-lambda-destinations`, `aws-cdk-lib/aws-stepfunctions-tasks`, etc)
273+
- Anything that bundles or deploys custom code (i.e. does a Lambda function bundled with `aws-cdk-lib/aws-lambda-nodejs` still invoke or did we break bundling behavior)
274274
- IAM/Networking connections.
275275
- This one is a bit of a judgement call. Most things do not need assertions, but sometimes we handle complicated configurations involving IAM permissions or
276276
Networking access.

ROADMAP.md

Lines changed: 48 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,64 @@
11
# AWS CDK Roadmap
22

3-
The [AWS CDK Roadmap] lets developers know about our upcoming features and priorities to help them plan how to best leverage the CDK and identify opportunities to contribute to the project. The roadmap provides a high-level view of our work in progress across the [aws-cdk], [aws-cdk-rfcs], and [jsii] repositories, and creates an opportunity for customers to engage in a conversation with AWS CDK engineers to give us direct feedback.
3+
The [AWS CDK Roadmap] lets developers know about our upcoming features and priorities to help them
4+
plan how to best leverage the CDK and identify opportunities to contribute to the project. The roadmap
5+
provides a high-level view of our work in progress across the [aws-cdk], [aws-cdk-rfcs], and [jsii]
6+
repositories, and creates an opportunity for customers to engage in a conversation with AWS CDK engineers to
7+
give us direct feedback.
48

5-
[AWS CDK Roadmap]: https://github.com/orgs/aws/projects/7
9+
[AWS CDK Roadmap]: https://github.com/orgs/aws/projects/88
610
[aws-cdk]: https://github.com/aws/aws-cdk
711
[aws-cdk-rfcs]: https://github.com/aws/aws-cdk-rfcs
812
[jsii]: https://github.com/aws/jsii
913

10-
## Roadmap FAQs
14+
## Tenets
15+
The core values for CDK on how to prioritize work, keep engaged with the community and deliver what matters.
16+
1. **Be transparent**
1117

12-
**Q: How do you manage the roadmap?**
18+
The AWS CDK team’s current work should be easily visible.
19+
20+
2. **Listen to customers**
21+
22+
Allow them to participate in design decisions and to vote on and propose new AWS CDK features. We will periodically re-prioritize the roadmap based on customer feedback.
1323

14-
A: We know that our customers are making decisions and plans based on what we
15-
are developing, and we want to provide the information they need to be successful. Our roadmap management tenets are:
24+
3. **Stay up-to-date**
1625

17-
* **Be transparent** with customers about the AWS CDK team’s work in progress
18-
* **Listen to customers,** allowing them to participate in design decisions and to vote on and propose new AWS CDK
19-
features. We will periodically re-prioritize the roadmap based on customer feedback
20-
* **Stay up-to-date,** or we will lose customer trust
21-
* **Provide the right level of detail** so customers can easily see what we’re working on at a glance, without being
22-
overwhelmed by minutiae
23-
* **Guide the community** on what AWS CDK constructs or features to contribute without the risk of conflicting with work
24-
already in progress
26+
Be informed and incorporate best practices.
2527

26-
**Q: What do the roadmap project board columns mean?**
28+
4. **Provide the right level of detail**
2729

28-
A: There are four columns on the roadmap project board:
30+
The overview should indicate all work in progress at a glance, while allowing a deep dive into the details via provided references.
2931

30-
* **Researching** - We’re thinking about it, but cannot commit if, or when, we will work on items in this list.
32+
5. **Guide the community**
33+
34+
Align on what can be worked on that is not currently handled by the team.
35+
Offer help and unblock contributors in their efforts.
36+
37+
## Roadmap FAQs
38+
**Q: How do you manage the roadmap?**
39+
40+
A: CDK customers are making decisions and plans based on what we are developing. We strive to provide the
41+
required information, when that is not sufficient, we take note of the feedback we receive and iterate on how
42+
to bring improvements to our current processes and available information.
43+
44+
**Q: How do you mark work in progress?**
45+
46+
A: For the [aws-cdk] repository, any issue that is currently worked on will have the `CDK Construct Squad` project
47+
listed, with the current status.
48+
49+
* **Needs Review** - We’re thinking about it, but cannot commit if, or when, we will work on items in this list.
3150
This means we are still designing the feature and evaluating how it might work. This is the phase when we collect
3251
customer use cases and feedback on how they want to see something implemented. There is no firm commitment to deliver
33-
functionality listed in the Researching column, and there might be situations that require us to move items from the
34-
roadmap back to the backlog.
35-
* **We’re working on it** - In progress, but further out. We have made an implied commitment to work on items in this
36-
bucket, they have some level of design spec’ed out, and a developer assigned to them. Items might linger in this
37-
bucket as we work through the implementation details, or scope stuff out. Think several months out until a developer
38-
preview release, give or take.
39-
* **Developer preview** - It’s available now as a release candidate. Items will spend extended periods of time in
40-
developer preview as we conduct user acceptance testing and accumulate sufficient usage to declare the API stable and
41-
ready for general availability. We will only make breaking changes to developer preview modules when we need to address unforeseen use cases or issues. Not all
42-
features, such as enhancements to the CDK CLI, will have a developer preview phase. In these cases the tracking issue
43-
is moved directly to the Shipped bucket when released.
44-
* **Shipped** - It’s available now, fully supported by AWS, and we guarantee the API is stable and safe to use in
45-
production.
52+
functionality listed in the Needs Review column, and there might be situations where we remove items from the Needs
53+
Review column.
54+
* **Backlog** - We want to do this, but no one has picked it up yet. We have made an implied commitment to work on items
55+
in this bucket, they have some level of design spec’ed out. Items might linger in this bucket as we work through the implementation details, or scope stuff out. Think several months out until a developer preview release, give or take.
56+
* **In Progress** - Someone on the CDK team is actively working on this. If all goes well, issues in this bucket should
57+
be released in the coming weeks.
58+
* **In review** - It’s implementation is done and we are reviewing the code.
59+
* **Done** - It’s available now, fully supported by AWS.
60+
61+
For the [aws-cdk-rfcs], the README file contains the overview and statuses. They can also be checked per RFC by selecting any of the relevant [issues](https://github.com/aws/aws-cdk-rfcs/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc) and seeing how far along is its `Workflow`.
4662

4763
**Q: How do items on the roadmap move across the project board?**
4864

@@ -71,15 +87,15 @@ A: We create a tracking issue for each CDK feature, AWS Construct Library module
7187

7288
**Q: How can I provide feedback on the roadmap or ask for more information about a feature?**
7389

74-
A: Please open an issue!
90+
A: Please open an issue! Or engage by 👍 existing ones.
7591

7692
**Q: How can I request a feature be added to the roadmap?**
7793

7894
A: Please open an issue! Community submitted issues will be tagged “feature-request” and will be reviewed by the team.
7995

8096
**Q: Can I “+1” tracking issues and feature requests?**
8197

82-
A: We strongly encourage you to do so, as it helps us understand which issues will have the broadest impact. You can navigate to the issue details page and add a reaction. There are six types of reactions (thumbs up “+1”, thumbs down “-1”, confused, heart, watching, laugh, and hooray) you can use to help us decide which items will benefit you most.
98+
A: We strongly encourage you to do so, as it helps us understand which issues will have the broadest impact. You can navigate to the issue details page and add a reaction. There are six types of reactions (👍 +1, 👎 -1, 😕 confused, ❤️ heart, 👀 watching, 😄 smile, and 🎉 celebration) you can use to help us decide which items will benefit you most.
8399

84100
**Q: Will you accept a pull request to the aws-cdk repo?**
85101

0 commit comments

Comments
 (0)