Skip to content

Commit 4b6724c

Browse files
authored
2 parents a594112 + 9092187 commit 4b6724c

File tree

187 files changed

+6830
-476
lines changed

Some content is hidden

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

187 files changed

+6830
-476
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.124.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.123.0-alpha.0...v2.124.0-alpha.0) (2024-01-26)
6+
57
## [2.123.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.122.0-alpha.0...v2.123.0-alpha.0) (2024-01-24)
68

79

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.124.0](https://github.com/aws/aws-cdk/compare/v2.123.0...v2.124.0) (2024-01-26)
6+
7+
8+
### Features
9+
10+
* update L1 CloudFormation resource definitions ([#28878](https://github.com/aws/aws-cdk/issues/28878)) ([98cea43](https://github.com/aws/aws-cdk/commit/98cea434e275f855274acbfd9bc24e9d6c9dfe83)), closes [/docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#create-s3](https://github.com/aws//docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html/issues/create-s3)
11+
* update L1 CloudFormation resource definitions ([#28886](https://github.com/aws/aws-cdk/issues/28886)) ([6a7a24a](https://github.com/aws/aws-cdk/commit/6a7a24afcc1ebebf71c267b890732a455e865cc8))
12+
* **cloudfront:** additional cloudfront distribution metrics ([#28777](https://github.com/aws/aws-cdk/issues/28777)) ([95d187e](https://github.com/aws/aws-cdk/commit/95d187e4aabf69b7210ffdf53e53eda077b46d6e)), closes [#22922](https://github.com/aws/aws-cdk/issues/22922)
13+
* **cloudfront:** associate key value stores to functions ([#28571](https://github.com/aws/aws-cdk/issues/28571)) ([5ede456](https://github.com/aws/aws-cdk/commit/5ede4564ce77478a5e1340862f7fa9a686ff10dd)), closes [#28377](https://github.com/aws/aws-cdk/issues/28377)
14+
* **route53:** latency based routing ([#28723](https://github.com/aws/aws-cdk/issues/28723)) ([169fd91](https://github.com/aws/aws-cdk/commit/169fd91e135556b8efb59d631acaf9a3426eaa53)), closes [#28722](https://github.com/aws/aws-cdk/issues/28722)
15+
* **s3:** date-based partitioning for log objects ([#28790](https://github.com/aws/aws-cdk/issues/28790)) ([2952408](https://github.com/aws/aws-cdk/commit/29524089854d6f65805aca8ec78181ff39c5723f)), closes [/docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-loggingconfiguration.html#cfn-s3](https://github.com/aws//docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-loggingconfiguration.html/issues/cfn-s3) [#28141](https://github.com/aws/aws-cdk/issues/28141)
16+
* **sns:** suffix matching to sub filter ([#28795](https://github.com/aws/aws-cdk/issues/28795)) ([2bf6d82](https://github.com/aws/aws-cdk/commit/2bf6d82b37779e3ab8700253323060925bfd7efb)), closes [#28765](https://github.com/aws/aws-cdk/issues/28765)
17+
18+
19+
### Bug Fixes
20+
21+
* **cloudwatch-actions:** multiple alarms with LambdaAction for the same Lambda fail (under feature flag) ([#28712](https://github.com/aws/aws-cdk/issues/28712)) ([b1e3dfd](https://github.com/aws/aws-cdk/commit/b1e3dfd9d69770d59d711fc133eefd2ce99eaf31))
22+
* **cognito:** allow custom email msg placeholder ([#28832](https://github.com/aws/aws-cdk/issues/28832)) ([1dbfa14](https://github.com/aws/aws-cdk/commit/1dbfa14b650e08a0b91ab2c367e37e54d81298c1))
23+
* **eks:** helm uninstall in custom resource handler does not respect `Wait` ([#28830](https://github.com/aws/aws-cdk/issues/28830)) ([7a30f5d](https://github.com/aws/aws-cdk/commit/7a30f5db9f84f9bf8a62b35dd54ae987806eeb7e)), closes [#28831](https://github.com/aws/aws-cdk/issues/28831)
24+
* **iam:** allow intrinsic functions in deletion policy ([#28834](https://github.com/aws/aws-cdk/issues/28834)) ([2801355](https://github.com/aws/aws-cdk/commit/280135567956b78fedd6a528cff0adda6171ec33))
25+
* **iam:** SamlConsolePrincipal returns incorrect url in GovCloud and ISO regions ([#28704](https://github.com/aws/aws-cdk/issues/28704)) ([c1f2abb](https://github.com/aws/aws-cdk/commit/c1f2abb153789f0496e5194e65cfeacfafc65a32)), closes [#25723](https://github.com/aws/aws-cdk/issues/25723)
26+
* **opensearch:** always create CloudWatch Logs resource policy when logging is enabled ([#28707](https://github.com/aws/aws-cdk/issues/28707)) ([a5a8855](https://github.com/aws/aws-cdk/commit/a5a8855e116dd0da9ebd35a3f40659df1ac562c3)), closes [#23637](https://github.com/aws/aws-cdk/issues/23637)
27+
* **rds:** proxy target is missing KMS permissions ([#28858](https://github.com/aws/aws-cdk/issues/28858)) ([c17dbde](https://github.com/aws/aws-cdk/commit/c17dbdef15bf145b96366ceb6ae8c96343304af5)), closes [#28850](https://github.com/aws/aws-cdk/issues/28850)
28+
529
## [2.123.0](https://github.com/aws/aws-cdk/compare/v2.122.0...v2.123.0) (2024-01-24)
630

731

packages/@aws-cdk-testing/framework-integ/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"lint": "cdk-lint",
1010
"pkglint": "pkglint -f",
1111
"test": "cdk-test",
12-
"integ": "integ-runner",
12+
"integ": "integ-runner --language javascript",
1313
"package": "cdk-package",
1414
"build+test": "yarn build && yarn test",
1515
"build+extract": "yarn build",

packages/@aws-cdk-testing/framework-integ/test/aws-cloudfront/test/integ.distribution-additional-metrics.js.snapshot/MyTestDefaultTestDeployAssertB8AA280E.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-cloudfront/test/integ.distribution-additional-metrics.js.snapshot/MyTestDefaultTestDeployAssertB8AA280E.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-cloudfront/test/integ.distribution-additional-metrics.js.snapshot/MyTestStack.assets.json

+19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,236 @@
1+
{
2+
"Resources": {
3+
"DistB3B78991": {
4+
"Type": "AWS::CloudFront::Distribution",
5+
"Properties": {
6+
"DistributionConfig": {
7+
"DefaultCacheBehavior": {
8+
"CachePolicyId": "658327ea-f89d-4fab-a63d-7e88639e58f6",
9+
"Compress": true,
10+
"TargetOriginId": "MyTestStackDistOrigin1CBA48A7B",
11+
"ViewerProtocolPolicy": "allow-all"
12+
},
13+
"Enabled": true,
14+
"HttpVersion": "http2",
15+
"IPV6Enabled": true,
16+
"Origins": [
17+
{
18+
"CustomOriginConfig": {
19+
"OriginProtocolPolicy": "https-only"
20+
},
21+
"DomainName": "www.example.com",
22+
"Id": "MyTestStackDistOrigin1CBA48A7B"
23+
}
24+
]
25+
}
26+
}
27+
},
28+
"DistMonitoringSubscriptionDD7607C2": {
29+
"Type": "AWS::CloudFront::MonitoringSubscription",
30+
"Properties": {
31+
"DistributionId": {
32+
"Ref": "DistB3B78991"
33+
},
34+
"MonitoringSubscription": {
35+
"RealtimeMetricsSubscriptionConfig": {
36+
"RealtimeMetricsSubscriptionStatus": "Enabled"
37+
}
38+
}
39+
}
40+
},
41+
"Alarm1F9009D71": {
42+
"Type": "AWS::CloudWatch::Alarm",
43+
"Properties": {
44+
"ComparisonOperator": "GreaterThanThreshold",
45+
"Dimensions": [
46+
{
47+
"Name": "DistributionId",
48+
"Value": {
49+
"Ref": "DistB3B78991"
50+
}
51+
}
52+
],
53+
"EvaluationPeriods": 1,
54+
"MetricName": "OriginLatency",
55+
"Namespace": "AWS/CloudFront",
56+
"Period": 300,
57+
"Statistic": "Average",
58+
"Threshold": 1
59+
}
60+
},
61+
"Alarm2A7122E13": {
62+
"Type": "AWS::CloudWatch::Alarm",
63+
"Properties": {
64+
"ComparisonOperator": "GreaterThanThreshold",
65+
"Dimensions": [
66+
{
67+
"Name": "DistributionId",
68+
"Value": {
69+
"Ref": "DistB3B78991"
70+
}
71+
}
72+
],
73+
"EvaluationPeriods": 1,
74+
"MetricName": "CacheHitRate",
75+
"Namespace": "AWS/CloudFront",
76+
"Period": 300,
77+
"Statistic": "Average",
78+
"Threshold": 1
79+
}
80+
},
81+
"Alarm32341D8D9": {
82+
"Type": "AWS::CloudWatch::Alarm",
83+
"Properties": {
84+
"ComparisonOperator": "GreaterThanThreshold",
85+
"Dimensions": [
86+
{
87+
"Name": "DistributionId",
88+
"Value": {
89+
"Ref": "DistB3B78991"
90+
}
91+
}
92+
],
93+
"EvaluationPeriods": 1,
94+
"MetricName": "401ErrorRate",
95+
"Namespace": "AWS/CloudFront",
96+
"Period": 300,
97+
"Statistic": "Average",
98+
"Threshold": 1
99+
}
100+
},
101+
"Alarm4671832C8": {
102+
"Type": "AWS::CloudWatch::Alarm",
103+
"Properties": {
104+
"ComparisonOperator": "GreaterThanThreshold",
105+
"Dimensions": [
106+
{
107+
"Name": "DistributionId",
108+
"Value": {
109+
"Ref": "DistB3B78991"
110+
}
111+
}
112+
],
113+
"EvaluationPeriods": 1,
114+
"MetricName": "403ErrorRate",
115+
"Namespace": "AWS/CloudFront",
116+
"Period": 300,
117+
"Statistic": "Average",
118+
"Threshold": 1
119+
}
120+
},
121+
"Alarm548383B2F": {
122+
"Type": "AWS::CloudWatch::Alarm",
123+
"Properties": {
124+
"ComparisonOperator": "GreaterThanThreshold",
125+
"Dimensions": [
126+
{
127+
"Name": "DistributionId",
128+
"Value": {
129+
"Ref": "DistB3B78991"
130+
}
131+
}
132+
],
133+
"EvaluationPeriods": 1,
134+
"MetricName": "404ErrorRate",
135+
"Namespace": "AWS/CloudFront",
136+
"Period": 300,
137+
"Statistic": "Average",
138+
"Threshold": 1
139+
}
140+
},
141+
"Alarm65738D89F": {
142+
"Type": "AWS::CloudWatch::Alarm",
143+
"Properties": {
144+
"ComparisonOperator": "GreaterThanThreshold",
145+
"Dimensions": [
146+
{
147+
"Name": "DistributionId",
148+
"Value": {
149+
"Ref": "DistB3B78991"
150+
}
151+
}
152+
],
153+
"EvaluationPeriods": 1,
154+
"MetricName": "502ErrorRate",
155+
"Namespace": "AWS/CloudFront",
156+
"Period": 300,
157+
"Statistic": "Average",
158+
"Threshold": 1
159+
}
160+
},
161+
"Alarm77B1024B6": {
162+
"Type": "AWS::CloudWatch::Alarm",
163+
"Properties": {
164+
"ComparisonOperator": "GreaterThanThreshold",
165+
"Dimensions": [
166+
{
167+
"Name": "DistributionId",
168+
"Value": {
169+
"Ref": "DistB3B78991"
170+
}
171+
}
172+
],
173+
"EvaluationPeriods": 1,
174+
"MetricName": "503ErrorRate",
175+
"Namespace": "AWS/CloudFront",
176+
"Period": 300,
177+
"Statistic": "Average",
178+
"Threshold": 1
179+
}
180+
},
181+
"Alarm8AEE8034F": {
182+
"Type": "AWS::CloudWatch::Alarm",
183+
"Properties": {
184+
"ComparisonOperator": "GreaterThanThreshold",
185+
"Dimensions": [
186+
{
187+
"Name": "DistributionId",
188+
"Value": {
189+
"Ref": "DistB3B78991"
190+
}
191+
}
192+
],
193+
"EvaluationPeriods": 1,
194+
"MetricName": "504ErrorRate",
195+
"Namespace": "AWS/CloudFront",
196+
"Period": 300,
197+
"Statistic": "Average",
198+
"Threshold": 1
199+
}
200+
}
201+
},
202+
"Parameters": {
203+
"BootstrapVersion": {
204+
"Type": "AWS::SSM::Parameter::Value<String>",
205+
"Default": "/cdk-bootstrap/hnb659fds/version",
206+
"Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]"
207+
}
208+
},
209+
"Rules": {
210+
"CheckBootstrapVersion": {
211+
"Assertions": [
212+
{
213+
"Assert": {
214+
"Fn::Not": [
215+
{
216+
"Fn::Contains": [
217+
[
218+
"1",
219+
"2",
220+
"3",
221+
"4",
222+
"5"
223+
],
224+
{
225+
"Ref": "BootstrapVersion"
226+
}
227+
]
228+
}
229+
]
230+
},
231+
"AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
232+
}
233+
]
234+
}
235+
}
236+
}

packages/@aws-cdk-testing/framework-integ/test/aws-cloudfront/test/integ.distribution-additional-metrics.js.snapshot/cdk.out

+1
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-cloudfront/test/integ.distribution-additional-metrics.js.snapshot/integ.json

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

0 commit comments

Comments
 (0)