Skip to content

Commit 9329a73

Browse files
authored
chore(release): 2.56.1 (#23456)
See [CHANGELOG.v2.md](https://github.com/aws/aws-cdk/compare/patch/v2.56.1?expand=1#diff-9e3d5c5da890b65a67bf632f93416744d5b76f6eb239e42ab714c7768429ff99) ---- ### All Submissions: * [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) ### Adding new Construct Runtime Dependencies: * [ ] This PR adds new construct runtime dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-construct-runtime-dependencies) ### New Features * [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)? * [ ] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)? *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
2 parents 1485f48 + dbea975 commit 9329a73

File tree

22 files changed

+1272
-478
lines changed

22 files changed

+1272
-478
lines changed

CHANGELOG.v2.alpha.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
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.56.1-alpha.0](https://github.com/aws/aws-cdk/compare/v2.56.0-alpha.0...v2.56.1-alpha.0) (2022-12-23)
6+
57
## [2.56.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.55.1-alpha.0...v2.56.0-alpha.0) (2022-12-21)
68

79

CHANGELOG.v2.md

+7
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
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.56.1](https://github.com/aws/aws-cdk/compare/v2.56.0...v2.56.1) (2022-12-23)
6+
7+
8+
### Bug Fixes
9+
10+
* **cfnspec:** v101.0.0 introduced specific types on several types that previously were typed as json ([#23448](https://github.com/aws/aws-cdk/issues/23448)) ([1b4e3a4](https://github.com/aws/aws-cdk/commit/1b4e3a4b503d5d08e976ccf245c20f4430bcba46))
11+
512
## [2.56.0](https://github.com/aws/aws-cdk/compare/v2.55.1...v2.56.0) (2022-12-21)
613

714

packages/@aws-cdk/aws-ec2/lib/vpc-flow-logs.ts

+1-11
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ export class FlowLog extends FlowLogBase {
676676
}
677677

678678
const flowLog = new CfnFlowLog(this, 'FlowLog', {
679-
destinationOptions: renderDestinationOptions(destinationConfig.destinationOptions),
679+
destinationOptions: destinationConfig.destinationOptions,
680680
deliverLogsPermissionArn: this.iamRole ? this.iamRole.roleArn : undefined,
681681
logDestinationType: destinationConfig.logDestinationType,
682682
logGroupName: this.logGroup ? this.logGroup.logGroupName : undefined,
@@ -694,13 +694,3 @@ export class FlowLog extends FlowLogBase {
694694
this.node.defaultChild = flowLog;
695695
}
696696
}
697-
698-
function renderDestinationOptions(opts: DestinationOptions | undefined): CfnFlowLog.DestinationOptionsProperty | undefined {
699-
if (opts === undefined) { return undefined; }
700-
701-
return {
702-
fileFormat: opts.fileFormat ?? 'plain-text',
703-
hiveCompatiblePartitions: opts.hiveCompatiblePartitions ?? false,
704-
perHourPartition: opts.perHourPartition ?? false,
705-
};
706-
}

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

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
{
22
"version": "21.0.0",
33
"files": {
4-
"3074b79e05e7b98930b6449e01baa3e68b32ecff86328933c2542f7b7fe6fdac": {
4+
"b54b99043c35bd080b9d9d1afce31e3541cf15b679799ba980ed40c837dcb03b": {
55
"source": {
6-
"path": "asset.3074b79e05e7b98930b6449e01baa3e68b32ecff86328933c2542f7b7fe6fdac.bundle",
6+
"path": "asset.b54b99043c35bd080b9d9d1afce31e3541cf15b679799ba980ed40c837dcb03b.bundle",
77
"packaging": "zip"
88
},
99
"destinations": {
1010
"current_account-current_region": {
1111
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
12-
"objectKey": "3074b79e05e7b98930b6449e01baa3e68b32ecff86328933c2542f7b7fe6fdac.zip",
12+
"objectKey": "b54b99043c35bd080b9d9d1afce31e3541cf15b679799ba980ed40c837dcb03b.zip",
1313
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
1414
}
1515
}
1616
},
17-
"dd951509b1e22484b40a66a661cb8cebce3087b8cb381e3dcf02e641e5eb08cd": {
17+
"1dcf759cd2c8928f5b1acfbf439f1751e25367a5ac61ba5e640ff8b78fdf89f7": {
1818
"source": {
1919
"path": "FlowLogsDefaultTestDeployAssert6AFD1854.template.json",
2020
"packaging": "file"
2121
},
2222
"destinations": {
2323
"current_account-current_region": {
2424
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
25-
"objectKey": "dd951509b1e22484b40a66a661cb8cebce3087b8cb381e3dcf02e641e5eb08cd.json",
25+
"objectKey": "1dcf759cd2c8928f5b1acfbf439f1751e25367a5ac61ba5e640ff8b78fdf89f7.json",
2626
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
2727
}
2828
}

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
}
3232
},
3333
"flattenResponse": "false",
34-
"salt": "1668693953813"
34+
"salt": "1666810703150"
3535
},
3636
"UpdateReplacePolicy": "Delete",
3737
"DeletionPolicy": "Delete"
@@ -115,7 +115,7 @@
115115
"S3Bucket": {
116116
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
117117
},
118-
"S3Key": "3074b79e05e7b98930b6449e01baa3e68b32ecff86328933c2542f7b7fe6fdac.zip"
118+
"S3Key": "b54b99043c35bd080b9d9d1afce31e3541cf15b679799ba980ed40c837dcb03b.zip"
119119
},
120120
"Timeout": 120,
121121
"Handler": "index.handler",

packages/@aws-cdk/aws-ec2/test/integ.vpc-flow-logs.js.snapshot/FlowLogsFeatureFlag.assets.json

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

packages/@aws-cdk/aws-ec2/test/integ.vpc-flow-logs.js.snapshot/FlowLogsFeatureFlag.template.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,7 @@
524524
"Ref": "VPCB9E5F0B4"
525525
},
526526
"ResourceType": "VPC",
527+
"TrafficType": "ALL",
527528
"LogDestination": {
528529
"Fn::GetAtt": [
529530
"VPCFlowLogsS3BucketFB7DC2BE",
@@ -536,8 +537,7 @@
536537
"Key": "Name",
537538
"Value": "FlowLogsFeatureFlag/VPC"
538539
}
539-
],
540-
"TrafficType": "ALL"
540+
]
541541
}
542542
},
543543
"VPCFlowLogsS3WithDestinationOptionsBucket1B7AC456": {
@@ -673,10 +673,11 @@
673673
"Ref": "VPCB9E5F0B4"
674674
},
675675
"ResourceType": "VPC",
676+
"TrafficType": "ALL",
676677
"DestinationOptions": {
677-
"FileFormat": "plain-text",
678-
"HiveCompatiblePartitions": true,
679-
"PerHourPartition": false
678+
"fileFormat": "plain-text",
679+
"perHourPartition": false,
680+
"hiveCompatiblePartitions": true
680681
},
681682
"LogDestination": {
682683
"Fn::GetAtt": [
@@ -690,8 +691,7 @@
690691
"Key": "Name",
691692
"Value": "FlowLogsFeatureFlag/VPC"
692693
}
693-
],
694-
"TrafficType": "ALL"
694+
]
695695
}
696696
},
697697
"FlowLogsInstanceInstanceSecurityGroupF61782E0": {

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

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
{
22
"version": "21.0.0",
33
"files": {
4-
"33e2651435a0d472a75c1e033c9832b21321d9e56711926b04c5705e5f63874c": {
4+
"bb426cfb5fed5237e5928f871893b243ddf86a591a592b558bd29f60e28bad9d": {
55
"source": {
6-
"path": "asset.33e2651435a0d472a75c1e033c9832b21321d9e56711926b04c5705e5f63874c",
6+
"path": "asset.bb426cfb5fed5237e5928f871893b243ddf86a591a592b558bd29f60e28bad9d",
77
"packaging": "zip"
88
},
99
"destinations": {
1010
"current_account-current_region": {
1111
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
12-
"objectKey": "33e2651435a0d472a75c1e033c9832b21321d9e56711926b04c5705e5f63874c.zip",
12+
"objectKey": "bb426cfb5fed5237e5928f871893b243ddf86a591a592b558bd29f60e28bad9d.zip",
1313
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
1414
}
1515
}
1616
},
17-
"23955aa16c5d59106d93ecce9cedd43aa5782fbf23bb2ef8549b2119345a6f79": {
17+
"2090a74d484bc155b48d7511b99e4921b8f55e488c3fe1500cffede0cdfd33b7": {
1818
"source": {
1919
"path": "FlowLogsTestStack.template.json",
2020
"packaging": "file"
2121
},
2222
"destinations": {
2323
"current_account-current_region": {
2424
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
25-
"objectKey": "23955aa16c5d59106d93ecce9cedd43aa5782fbf23bb2ef8549b2119345a6f79.json",
25+
"objectKey": "2090a74d484bc155b48d7511b99e4921b8f55e488c3fe1500cffede0cdfd33b7.json",
2626
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
2727
}
2828
}

packages/@aws-cdk/aws-ec2/test/integ.vpc-flow-logs.js.snapshot/FlowLogsTestStack.template.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,7 @@
524524
"Ref": "VPCB9E5F0B4"
525525
},
526526
"ResourceType": "VPC",
527+
"TrafficType": "ALL",
527528
"LogDestination": {
528529
"Fn::GetAtt": [
529530
"VPCFlowLogsS3BucketFB7DC2BE",
@@ -536,8 +537,7 @@
536537
"Key": "Name",
537538
"Value": "FlowLogsTestStack/VPC"
538539
}
539-
],
540-
"TrafficType": "ALL"
540+
]
541541
}
542542
},
543543
"VPCFlowLogsS3KeyPrefixFlowLogB57F1746": {
@@ -547,6 +547,7 @@
547547
"Ref": "VPCB9E5F0B4"
548548
},
549549
"ResourceType": "VPC",
550+
"TrafficType": "ALL",
550551
"LogDestination": {
551552
"Fn::Join": [
552553
"",
@@ -567,8 +568,7 @@
567568
"Key": "Name",
568569
"Value": "FlowLogsTestStack/VPC"
569570
}
570-
],
571-
"TrafficType": "ALL"
571+
]
572572
}
573573
},
574574
"FlowLogsCWIAMRole017AD736": {
@@ -643,6 +643,7 @@
643643
"Ref": "VPCB9E5F0B4"
644644
},
645645
"ResourceType": "VPC",
646+
"TrafficType": "ALL",
646647
"DeliverLogsPermissionArn": {
647648
"Fn::GetAtt": [
648649
"FlowLogsCWIAMRole017AD736",
@@ -652,8 +653,7 @@
652653
"LogDestinationType": "cloud-watch-logs",
653654
"LogGroupName": {
654655
"Ref": "FlowLogsCWLogGroup0398E8F8"
655-
},
656-
"TrafficType": "ALL"
656+
}
657657
}
658658
},
659659
"Bucket83908E77": {
@@ -888,7 +888,7 @@
888888
"S3Bucket": {
889889
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
890890
},
891-
"S3Key": "33e2651435a0d472a75c1e033c9832b21321d9e56711926b04c5705e5f63874c.zip"
891+
"S3Key": "bb426cfb5fed5237e5928f871893b243ddf86a591a592b558bd29f60e28bad9d.zip"
892892
},
893893
"Timeout": 900,
894894
"MemorySize": 128,

0 commit comments

Comments
 (0)