Skip to content

Commit c13a0f1

Browse files
authored
2 parents 60a5b2a + 33c4066 commit c13a0f1

File tree

385 files changed

+11416
-720
lines changed

Some content is hidden

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

385 files changed

+11416
-720
lines changed

Diff for: .github/workflows/auto-approve.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ jobs:
1212
permissions:
1313
pull-requests: write
1414
steps:
15-
- uses: hmarr/[email protected].0
15+
- uses: hmarr/[email protected].1
1616
with:
1717
github-token: "${{ secrets.GITHUB_TOKEN }}"

Diff for: .mergify.yml

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# See https://doc.mergify.io
22
queue_rules:
33
- name: default
4+
update_method: merge
45
conditions:
56
- status-success~=AWS CodeBuild us-east-1
67

Diff for: CHANGELOG.v2.alpha.md

+12
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
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.70.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.69.0-alpha.0...v2.70.0-alpha.0) (2023-03-22)
6+
7+
8+
### ⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES
9+
10+
* **servicecatalogappregistry:** This commit contains destructive changes to the RAM Share.
11+
Since the application RAM share name is calculated by the application construct, where one method is added. Integration test detects a breaking change where RAM share will be created. Integration test snapshot is updated to cater this destructive change.
12+
13+
### Features
14+
15+
* **servicecatalogappregistry:** add attribute groups to an application ([#24672](https://github.com/aws/aws-cdk/issues/24672)) ([7baffa2](https://github.com/aws/aws-cdk/commit/7baffa239a7904cd73ac73537101ed5bd40aa9a0))
16+
517
## [2.69.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.68.0-alpha.0...v2.69.0-alpha.0) (2023-03-14)
618

719

Diff for: CHANGELOG.v2.md

+24
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,30 @@
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.70.0](https://github.com/aws/aws-cdk/compare/v2.69.0...v2.70.0) (2023-03-22)
6+
7+
8+
### Features
9+
10+
* **cfnspec:** cloudformation spec v116.0.0 ([#24662](https://github.com/aws/aws-cdk/issues/24662)) ([e8158af](https://github.com/aws/aws-cdk/commit/e8158af34eb6402c79edbc171746fb5501775c68))
11+
* **cloudwatch:** added defaultInterval prop to cw-dashboard ([#24707](https://github.com/aws/aws-cdk/issues/24707)) ([d4717cf](https://github.com/aws/aws-cdk/commit/d4717cf035c9f7027d8081ea1f15a631044315e8))
12+
* **ec2:** CFN-init support for systemd ([#24683](https://github.com/aws/aws-cdk/issues/24683)) ([f3fe8e1](https://github.com/aws/aws-cdk/commit/f3fe8e1c4348194f89b47a276e6c85328b1044fa))
13+
* **ec2:** SSM sessions ([#24673](https://github.com/aws/aws-cdk/issues/24673)) ([9744a82](https://github.com/aws/aws-cdk/commit/9744a8295fab28f1e8c38a0b980935f7546990e6))
14+
* **ecr:** add option to auto delete images upon ECR repository removal ([#24572](https://github.com/aws/aws-cdk/issues/24572)) ([7de5b00](https://github.com/aws/aws-cdk/commit/7de5b00dcf24c4f6721317860c7e42c485e3ca58)), closes [#15932](https://github.com/aws/aws-cdk/issues/15932) [#12618](https://github.com/aws/aws-cdk/issues/12618) [#15932](https://github.com/aws/aws-cdk/issues/15932)
15+
* **elasticloadbalancing:** classic load balancer supports ec2 instances ([#24353](https://github.com/aws/aws-cdk/issues/24353)) ([25b6edd](https://github.com/aws/aws-cdk/commit/25b6edd9d83e4766a2cb064b8eb8e3c6198b4f53)), closes [#23500](https://github.com/aws/aws-cdk/issues/23500)
16+
* **servicecatalogappregistry-alpha:** Introduce flag to control application sharing and association behavior for cross-account stacks ([#24408](https://github.com/aws/aws-cdk/issues/24408)) ([2167289](https://github.com/aws/aws-cdk/commit/2167289658e8f3431ec815c741277dc1be1aa110)), closes [aws-cdk/aws-servicecatalogappregistry/lib/aspects/stack-associator.ts#L91-L95](https://github.com/aws-cdk/aws-servicecatalogappregistry/lib/aspects/stack-associator.ts/issues/L91-L95)
17+
18+
19+
### Bug Fixes
20+
21+
* **bootstrap:** remove Security Hub finding KMS.2 ([#24588](https://github.com/aws/aws-cdk/issues/24588)) ([274c3d5](https://github.com/aws/aws-cdk/commit/274c3d54dcc0b9534d1ede287fe3672ec9883dbe)), closes [/docs.aws.amazon.com/securityhub/latest/userguide/kms-controls.html#kms-2](https://github.com/aws//docs.aws.amazon.com/securityhub/latest/userguide/kms-controls.html/issues/kms-2)
22+
* **cli:** no change deployment prints "hotswap deployment skipped" without hotswap flag ([#24602](https://github.com/aws/aws-cdk/issues/24602)) ([79151fd](https://github.com/aws/aws-cdk/commit/79151fd7f4916defeb1e17d3bcdbec1e119ec994))
23+
* **cli:** user agent is reported as `undefined/undefined` ([#24663](https://github.com/aws/aws-cdk/issues/24663)) ([3e8d8d8](https://github.com/aws/aws-cdk/commit/3e8d8d8e1b9a88376a6460094dea0c08ce19742e))
24+
* **eks:** fail to update cluster by disabling logging props ([#24688](https://github.com/aws/aws-cdk/issues/24688)) ([767cf93](https://github.com/aws/aws-cdk/commit/767cf93eb131c707f8243e8f3779dd3bad89271a))
25+
* **sfn:** stop replacing JsonPath.DISCARD with `null` ([#24717](https://github.com/aws/aws-cdk/issues/24717)) ([413b643](https://github.com/aws/aws-cdk/commit/413b64347f333573b2a07150e87244bd4c11d264)), closes [#24593](https://github.com/aws/aws-cdk/issues/24593)
26+
* **toolkit:** RWLock.acquireRead is not re-entrant ([#24702](https://github.com/aws/aws-cdk/issues/24702)) ([3b7431b](https://github.com/aws/aws-cdk/commit/3b7431b6ac27f8557c22a8959ae1ce431f6d2167))
27+
* **WAFv2:** add patch to revert struct names ([#24651](https://github.com/aws/aws-cdk/issues/24651)) ([dfa09d1](https://github.com/aws/aws-cdk/commit/dfa09d133523f0457a9ab2369bde13b44c398c30)), closes [/github.com/aws/aws-cdk/commit/affe040c8443be074822254d1e75a28b264cd801#diff-827a2fd012e049c7ccedffa0360c12e7d967a173f36b8150de73ef6adc42ee4cL175-L357](https://github.com/aws//github.com/aws/aws-cdk/commit/affe040c8443be074822254d1e75a28b264cd801/issues/diff-827a2fd012e049c7ccedffa0360c12e7d967a173f36b8150de73ef6adc42ee4cL175-L357)
28+
529
## [2.69.0](https://github.com/aws/aws-cdk/compare/v2.68.0...v2.69.0) (2023-03-14)
630

731

Diff for: packages/@aws-cdk-testing/cli-integ/lib/staging/maven.ts

+4
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ export async function uploadJavaPackages(packages: string[], login: LoginInforma
5252
console.log(`❌ ${pkg}: already exists. Skipped.`);
5353
return 'skip';
5454
}
55+
if (output.toString().includes('Too Many Requests')) {
56+
console.log(`♻️ ${pkg}: Too many requests. Retrying.`);
57+
return 'retry';
58+
}
5559
return 'fail';
5660
});
5761
}

Diff for: packages/@aws-cdk/aws-autoscaling/README.md

+47-7
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ declare const vpc: ec2.Vpc;
2525
new autoscaling.AutoScalingGroup(this, 'ASG', {
2626
vpc,
2727
instanceType: ec2.InstanceType.of(ec2.InstanceClass.BURSTABLE2, ec2.InstanceSize.MICRO),
28-
machineImage: new ec2.AmazonLinuxImage() // get the latest Amazon Linux image
28+
29+
// The latest Amazon Linux image of a particular generation
30+
machineImage: ec2.MachineImage.latestAmazonLinux({
31+
generation: ec2.AmazonLinuxGeneration.AMAZON_LINUX_2,
32+
}),
2933
});
3034
```
3135

@@ -41,7 +45,9 @@ const mySecurityGroup = new ec2.SecurityGroup(this, 'SecurityGroup', { vpc });
4145
new autoscaling.AutoScalingGroup(this, 'ASG', {
4246
vpc,
4347
instanceType: ec2.InstanceType.of(ec2.InstanceClass.BURSTABLE2, ec2.InstanceSize.MICRO),
44-
machineImage: new ec2.AmazonLinuxImage(),
48+
machineImage: ec2.MachineImage.latestAmazonLinux({
49+
generation: ec2.AmazonLinuxGeneration.AMAZON_LINUX_2,
50+
}),
4551
securityGroup: mySecurityGroup,
4652
});
4753
```
@@ -538,6 +544,40 @@ new autoscaling.AutoScalingGroup(this, 'ASG', {
538544
});
539545
```
540546

547+
## Connecting to your instances using SSM Session Manager
548+
549+
SSM Session Manager makes it possible to connect to your instances from the
550+
AWS Console, without preparing SSH keys.
551+
552+
To do so, you need to:
553+
554+
* Use an image with [SSM agent](https://docs.aws.amazon.com/systems-manager/latest/userguide/ssm-agent.html) installed
555+
and configured. [Many images come with SSM Agent
556+
preinstalled](https://docs.aws.amazon.com/systems-manager/latest/userguide/ami-preinstalled-agent.html), otherwise you
557+
may need to manually put instructions to [install SSM
558+
Agent](https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-manual-agent-install.html) into your
559+
instance's UserData or use EC2 Init).
560+
* Create the AutoScalingGroup with `ssmSessionPermissions: true`.
561+
562+
If these conditions are met, you can connect to the instance from the EC2 Console. Example:
563+
564+
```ts
565+
declare const vpc: ec2.Vpc;
566+
567+
new autoscaling.AutoScalingGroup(this, 'ASG', {
568+
vpc,
569+
instanceType: ec2.InstanceType.of(ec2.InstanceClass.T3, ec2.InstanceSize.MICRO),
570+
571+
// Amazon Linux 2 comes with SSM Agent by default
572+
machineImage: ec2.MachineImage.latestAmazonLinux({
573+
generation: ec2.AmazonLinuxGeneration.AMAZON_LINUX_2,
574+
}),
575+
576+
// Turn on SSM
577+
ssmSessionPermissions: true,
578+
});
579+
```
580+
541581
## Configuring Instance Metadata Service (IMDS)
542582

543583
### Toggling IMDSv1
@@ -596,13 +636,13 @@ autoScalingGroup.addWarmPool({
596636

597637
### Default Instance Warming
598638

599-
You can use the default instance warmup feature to improve the Amazon CloudWatch metrics used for dynamic scaling.
600-
When default instance warmup is not enabled, each instance starts contributing usage data to the aggregated metrics
601-
as soon as the instance reaches the InService state. However, if you enable default instance warmup, this lets
639+
You can use the default instance warmup feature to improve the Amazon CloudWatch metrics used for dynamic scaling.
640+
When default instance warmup is not enabled, each instance starts contributing usage data to the aggregated metrics
641+
as soon as the instance reaches the InService state. However, if you enable default instance warmup, this lets
602642
your instances finish warming up before they contribute the usage data.
603643

604-
To optimize the performance of scaling policies that scale continuously, such as target tracking and step scaling
605-
policies, we strongly recommend that you enable the default instance warmup, even if its value is set to 0 seconds.
644+
To optimize the performance of scaling policies that scale continuously, such as target tracking and step scaling
645+
policies, we strongly recommend that you enable the default instance warmup, even if its value is set to 0 seconds.
606646

607647
To set up Default Instance Warming for an autoscaling group, simply pass it in as a prop
608648

Diff for: packages/@aws-cdk/aws-autoscaling/lib/auto-scaling-group.ts

+21
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,23 @@ export interface CommonAutoScalingGroupProps {
365365
*
366366
*/
367367
readonly capacityRebalance?: boolean;
368+
369+
/**
370+
* Add SSM session permissions to the instance role
371+
*
372+
* Setting this to `true` adds the necessary permissions to connect
373+
* to the instance using SSM Session Manager. You can do this
374+
* from the AWS Console.
375+
*
376+
* NOTE: Setting this flag to `true` may not be enough by itself.
377+
* You must also use an AMI that comes with the SSM Agent, or install
378+
* the SSM Agent yourself. See
379+
* [Working with SSM Agent](https://docs.aws.amazon.com/systems-manager/latest/userguide/ssm-agent.html)
380+
* in the SSM Developer Guide.
381+
*
382+
* @default false
383+
*/
384+
readonly ssmSessionPermissions?: boolean;
368385
}
369386

370387
/**
@@ -1278,6 +1295,10 @@ export class AutoScalingGroup extends AutoScalingGroupBase implements
12781295

12791296
this.grantPrincipal = this._role;
12801297

1298+
if (props.ssmSessionPermissions) {
1299+
this.role.addManagedPolicy(iam.ManagedPolicy.fromAwsManagedPolicyName('AmazonSSMManagedInstanceCore'));
1300+
}
1301+
12811302
const iamProfile = new iam.CfnInstanceProfile(this, 'InstanceProfile', {
12821303
roles: [this.role.roleName],
12831304
});

Diff for: packages/@aws-cdk/aws-autoscaling/test/auto-scaling-group.test.ts

+24
Original file line numberDiff line numberDiff line change
@@ -2051,6 +2051,30 @@ test('add price-capacity-optimized', () => {
20512051
});
20522052
});
20532053

2054+
test('ssm permissions adds right managed policy', () => {
2055+
// GIVEN
2056+
const stack = new cdk.Stack();
2057+
2058+
// WHEN
2059+
new autoscaling.AutoScalingGroup(stack, 'mip-asg', {
2060+
vpc: mockVpc(stack),
2061+
machineImage: new AmazonLinuxImage(),
2062+
instanceType: InstanceType.of(ec2.InstanceClass.T3, ec2.InstanceSize.LARGE),
2063+
ssmSessionPermissions: true,
2064+
});
2065+
2066+
Template.fromStack(stack).hasResourceProperties('AWS::IAM::Role', {
2067+
ManagedPolicyArns: [
2068+
{
2069+
'Fn::Join': ['', [
2070+
'arn:',
2071+
{ Ref: 'AWS::Partition' },
2072+
':iam::aws:policy/AmazonSSMManagedInstanceCore',
2073+
]],
2074+
},
2075+
],
2076+
});
2077+
});
20542078

20552079
function mockSecurityGroup(stack: cdk.Stack) {
20562080
return ec2.SecurityGroup.fromSecurityGroupId(stack, 'MySG', 'most-secure');

Diff for: packages/@aws-cdk/aws-cloudwatch/README.md

+15
Original file line numberDiff line numberDiff line change
@@ -697,3 +697,18 @@ new cloudwatch.Row(widgetA, widgetB);
697697

698698
You can add a widget after object instantiation with the method
699699
`addWidget()`.
700+
701+
### Interval duration for dashboard
702+
703+
Interval duration for metrics in dashboard. You can specify `defaultInterval` with
704+
the relative time(eg. 7 days) as `cdk.Duration.days(7)`.
705+
706+
```ts
707+
import * as cw from '@aws-cdk/aws-cloudwatch';
708+
709+
const dashboard = new cw.Dashboard(stack, 'Dash', {
710+
defaultInterval: cdk.Duration.days(7),
711+
});
712+
```
713+
714+
Here, the dashboard would show the metrics for the last 7 days.

Diff for: packages/@aws-cdk/aws-cloudwatch/lib/dashboard.ts

+15-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Lazy, Resource, Stack, Token, Annotations } from '@aws-cdk/core';
1+
import { Lazy, Resource, Stack, Token, Annotations, Duration } from '@aws-cdk/core';
22
import { Construct } from 'constructs';
33
import { CfnDashboard } from './cloudwatch.generated';
44
import { Column, Row } from './layout';
@@ -31,6 +31,14 @@ export interface DashboardProps {
3131
*/
3232
readonly dashboardName?: string;
3333

34+
/**
35+
* Interval duration for metrics.
36+
* You can specify defaultInterval with the relative time(eg. cdk.Duration.days(7)).
37+
*
38+
* @default When the dashboard loads, the defaultInterval time will be the default time range.
39+
*/
40+
readonly defaultInterval?: Duration
41+
3442
/**
3543
* The start of the time range to use for each widget on the dashboard.
3644
* You can specify start without specifying end to specify a relative time range that ends with the current time.
@@ -107,15 +115,19 @@ export class Dashboard extends Resource {
107115
}
108116
}
109117

118+
if (props.start !== undefined && props.defaultInterval !== undefined) {
119+
throw ('both properties defaultInterval and start cannot be set at once');
120+
}
121+
110122
const dashboard = new CfnDashboard(this, 'Resource', {
111123
dashboardName: this.physicalName,
112124
dashboardBody: Lazy.string({
113125
produce: () => {
114126
const column = new Column(...this.rows);
115127
column.position(0, 0);
116128
return Stack.of(this).toJsonString({
117-
start: props.start,
118-
end: props.end,
129+
start: props.defaultInterval !== undefined ? `-${props.defaultInterval?.toIsoString()}` : props.start,
130+
end: props.defaultInterval !== undefined ? undefined : props.end,
119131
periodOverride: props.periodOverride,
120132
widgets: column.toJson(),
121133
});

Diff for: packages/@aws-cdk/aws-cloudwatch/test/dashboard.test.ts

+26-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Template, Annotations, Match } from '@aws-cdk/assertions';
2-
import { App, Stack } from '@aws-cdk/core';
2+
import { App, Duration, Stack } from '@aws-cdk/core';
33
import { Dashboard, GraphWidget, PeriodOverride, TextWidget, MathExpression, TextWidgetBackground } from '../lib';
44

55
describe('Dashboard', () => {
@@ -131,6 +131,31 @@ describe('Dashboard', () => {
131131

132132
});
133133

134+
test('defaultInterval test', () => {
135+
// GIVEN
136+
const stack = new Stack();
137+
// WHEN
138+
const dashboard = new Dashboard(stack, 'Dash', {
139+
defaultInterval: Duration.days(7),
140+
});
141+
dashboard.addWidgets(
142+
new GraphWidget({ width: 1, height: 1 }), // GraphWidget has internal reference to current region
143+
);
144+
145+
// THEN
146+
Template.fromStack(stack).hasResourceProperties('AWS::CloudWatch::Dashboard', {
147+
DashboardBody: {
148+
'Fn::Join': ['', [
149+
'{"start":"-P7D",\
150+
"widgets":[{"type":"metric","width":1,"height":1,"x":0,"y":0,"properties":{"view":"timeSeries","region":"',
151+
{ Ref: 'AWS::Region' },
152+
'","yAxis":{}}}]}',
153+
]],
154+
},
155+
});
156+
157+
});
158+
134159
test('DashboardName is set when provided', () => {
135160
// GIVEN
136161
const app = new App();

Diff for: packages/@aws-cdk/aws-cloudwatch/test/integ.dashboard.js.snapshot/DashboardIntegrationTestDefaultTestDeployAssert5BE38902.assets.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "30.0.0",
2+
"version": "31.0.0",
33
"files": {
44
"21fbb51d7b23f6a6c262b46a9caee79d744a3ac019fd45422d988b96d44b2a22": {
55
"source": {

Diff for: packages/@aws-cdk/aws-cloudwatch/test/integ.dashboard.js.snapshot/DashboardIntegrationTestStack.assets.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
2-
"version": "30.0.0",
2+
"version": "31.0.0",
33
"files": {
4-
"53eb5ec97b9df3953bc84bdc2aee87ace7b502c665b7e5b9f7b7d14dd46cea69": {
4+
"1a70f8470c838c02020b9010528363b17eebd55d55c1a53fb3e0f6760a606c98": {
55
"source": {
66
"path": "DashboardIntegrationTestStack.template.json",
77
"packaging": "file"
88
},
99
"destinations": {
1010
"current_account-current_region": {
1111
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
12-
"objectKey": "53eb5ec97b9df3953bc84bdc2aee87ace7b502c665b7e5b9f7b7d14dd46cea69.json",
12+
"objectKey": "1a70f8470c838c02020b9010528363b17eebd55d55c1a53fb3e0f6760a606c98.json",
1313
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
1414
}
1515
}

Diff for: packages/@aws-cdk/aws-cloudwatch/test/integ.dashboard.js.snapshot/DashboardIntegrationTestStack.template.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"DashCCD7F836": {
44
"Type": "AWS::CloudWatch::Dashboard",
55
"Properties": {
6-
"DashboardBody": "{\"widgets\":[{\"type\":\"text\",\"width\":6,\"height\":2,\"x\":0,\"y\":0,\"properties\":{\"markdown\":\"I don't have a background\",\"background\":\"transparent\"}}]}"
6+
"DashboardBody": "{\"start\":\"-P7D\",\"widgets\":[{\"type\":\"text\",\"width\":6,\"height\":2,\"x\":0,\"y\":0,\"properties\":{\"markdown\":\"I don't have a background\",\"background\":\"transparent\"}}]}"
77
}
88
}
99
},
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"version":"30.0.0"}
1+
{"version":"31.0.0"}

Diff for: packages/@aws-cdk/aws-cloudwatch/test/integ.dashboard.js.snapshot/integ.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "30.0.0",
2+
"version": "31.0.0",
33
"testCases": {
44
"DashboardIntegrationTest/DefaultTest": {
55
"stacks": [

Diff for: packages/@aws-cdk/aws-cloudwatch/test/integ.dashboard.js.snapshot/manifest.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "30.0.0",
2+
"version": "31.0.0",
33
"artifacts": {
44
"DashboardIntegrationTestStack.assets": {
55
"type": "cdk:asset-manifest",
@@ -17,7 +17,7 @@
1717
"validateOnSynth": false,
1818
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
1919
"cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
20-
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/53eb5ec97b9df3953bc84bdc2aee87ace7b502c665b7e5b9f7b7d14dd46cea69.json",
20+
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/1a70f8470c838c02020b9010528363b17eebd55d55c1a53fb3e0f6760a606c98.json",
2121
"requiresBootstrapStackVersion": 6,
2222
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
2323
"additionalDependencies": [

0 commit comments

Comments
 (0)