Skip to content

Commit fdc8492

Browse files
authored
2 parents 7e4431d + af99a77 commit fdc8492

File tree

10 files changed

+151
-17
lines changed

10 files changed

+151
-17
lines changed

CHANGELOG.v2.alpha.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,23 @@
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.195.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.194.0-alpha.0...v2.195.0-alpha.0) (2025-05-07)
6+
7+
8+
### ⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES
9+
10+
* **iot:** By default, `deviceDertificateAgeCheck` is automatically enabled.
11+
12+
### Features
13+
14+
* **iot:** device certificate age check audit configuration ([#33816](https://github.com/aws/aws-cdk/issues/33816)) ([9ad383d](https://github.com/aws/aws-cdk/commit/9ad383d5300c5d5f5a9d2552fbd541436570a404))
15+
* **location:** support L2 API Key Construct ([#32733](https://github.com/aws/aws-cdk/issues/32733)) ([d867878](https://github.com/aws/aws-cdk/commit/d86787889dd49dce220324d141bf48e1bfa8fc3b)), closes [#30684](https://github.com/aws/aws-cdk/issues/30684)
16+
17+
18+
### Bug Fixes
19+
20+
* **amplify-alpha:** example code for adding a custom rule is wrong ([#34353](https://github.com/aws/aws-cdk/issues/34353)) ([8ab2606](https://github.com/aws/aws-cdk/commit/8ab2606b7b8de068a70dfaf02c5d96651ef5d286)), closes [#34351](https://github.com/aws/aws-cdk/issues/34351)
21+
522
## [2.194.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.193.0-alpha.0...v2.194.0-alpha.0) (2025-05-01)
623

724
## [2.193.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.192.0-alpha.0...v2.193.0-alpha.0) (2025-04-30)

CHANGELOG.v2.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,28 @@
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.195.0](https://github.com/aws/aws-cdk/compare/v2.194.0...v2.195.0) (2025-05-07)
6+
7+
8+
### Features
9+
10+
* publish 'app-staging-synthesizer-alpha' for Go ([#34364](https://github.com/aws/aws-cdk/issues/34364)) ([4e3df41](https://github.com/aws/aws-cdk/commit/4e3df41b308b277a568efa77e965cea958a63df9))
11+
* update L1 CloudFormation resource definitions ([#34357](https://github.com/aws/aws-cdk/issues/34357)) ([24a40a9](https://github.com/aws/aws-cdk/commit/24a40a9b8e56e6ce3c37036b3db4d5039c882bba))
12+
* **apigateway:** dualstack REST API ([#34114](https://github.com/aws/aws-cdk/issues/34114)) ([efdcb9d](https://github.com/aws/aws-cdk/commit/efdcb9ddfebc9c3333745a40fa90eb99b410316d))
13+
14+
15+
### Bug Fixes
16+
17+
* **codepipeline:** allow both `pullRequestFilter` and `pushFilter` ([#34267](https://github.com/aws/aws-cdk/issues/34267)) ([1cac5a0](https://github.com/aws/aws-cdk/commit/1cac5a080c78182268128b9b7ad3501179a7e3e1)), closes [#34253](https://github.com/aws/aws-cdk/issues/34253)
18+
* **route53-targets:** beanstalk allow specifying `hostedZoneId` to support token endpoint with default value derived from stack region or endpointUrl ([#34122](https://github.com/aws/aws-cdk/issues/34122)) ([9e52752](https://github.com/aws/aws-cdk/commit/9e527522c5ea6967d3b51ade75790ad98982dd83)), closes [#31843](https://github.com/aws/aws-cdk/issues/31843)
19+
* **s3-notifications:** add a key policy to trust S3 for notifications to an SNS topic encrypted with a KMS key (under feature flag) ([#33858](https://github.com/aws/aws-cdk/issues/33858)) ([1e87861](https://github.com/aws/aws-cdk/commit/1e87861b3d0631fd0d24aedd4328d1eb67beb26c)), closes [#16271](https://github.com/aws/aws-cdk/issues/16271)
20+
21+
22+
### Reverts
23+
24+
* "chore: make all L2 Constructs property injectable during release" ([#34371](https://github.com/aws/aws-cdk/issues/34371)) ([1e722ad](https://github.com/aws/aws-cdk/commit/1e722ad198952688ba33e4f698456d05dd90d524)), closes [aws/aws-cdk#34328](https://github.com/aws/aws-cdk/issues/34328)
25+
* "feat: property injection for 122 constructs" ([#34370](https://github.com/aws/aws-cdk/issues/34370)) ([2594f3c](https://github.com/aws/aws-cdk/commit/2594f3cab68e130d0b9f62ae622c9bc7b92cd14e)), closes [aws/aws-cdk#33887](https://github.com/aws/aws-cdk/issues/33887)
26+
527
## [2.194.0](https://github.com/aws/aws-cdk/compare/v2.193.0...v2.194.0) (2025-05-01)
628

729

packages/@aws-cdk/aws-location-alpha/lib/api-key.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { ArnFormat, Aws, IResource, Lazy, Resource, Stack, Token, UnscopedValida
22
import { Construct } from 'constructs';
33
import { CfnAPIKey } from 'aws-cdk-lib/aws-location';
44
import { generateUniqueId } from './util';
5+
import { addConstructMetadata } from 'aws-cdk-lib/core/lib/metadata-resource';
56

67
/**
78
* An API Key
@@ -281,6 +282,8 @@ export class ApiKey extends Resource implements IApiKey {
281282
super(scope, id, {
282283
physicalName: props.apiKeyName ?? Lazy.string({ produce: () => generateUniqueId(this) }),
283284
});
285+
// Enhanced CDK Analytics Telemetry
286+
addConstructMetadata(this, props);
284287

285288
if (props.description && !Token.isUnresolved(props.description) && props.description.length > 1000) {
286289
throw new ValidationError(`\`description\` must be between 0 and 1000 characters. Received: ${props.description.length} characters`, this);

packages/aws-cdk-lib/core/lib/analytics-data-source/classes.ts

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2635,6 +2635,18 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
26352635
}
26362636
},
26372637
'@aws-cdk.aws-location-alpha': {
2638+
'ApiKey': {
2639+
'apiKeyName': '*',
2640+
'description': '*',
2641+
'expireTime': '*',
2642+
'forceDelete': 'boolean',
2643+
'forceUpdate': 'boolean',
2644+
'noExpiry': 'boolean',
2645+
'allowMapsActions': 'AllowMapsAction',
2646+
'allowPlacesActions': 'AllowPlacesAction',
2647+
'allowRoutesActions': 'AllowRoutesAction',
2648+
'allowReferers': '*'
2649+
},
26382650
'GeofenceCollection': {
26392651
'geofenceCollectionName': '*',
26402652
'description': '*',
@@ -6172,7 +6184,8 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
61726184
'types': 'EndpointType',
61736185
'vpcEndpoints': {
61746186
'vpcEndpointId': '*'
6175-
}
6187+
},
6188+
'ipAddressType': 'IpAddressType'
61766189
},
61776190
'disableExecuteApiEndpoint': 'boolean',
61786191
'description': '*'
@@ -6311,7 +6324,8 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
63116324
'region': '*'
63126325
},
63136326
'node': '*'
6314-
}
6327+
},
6328+
'ipAddressType': 'IpAddressType'
63156329
},
63166330
'disableExecuteApiEndpoint': 'boolean',
63176331
'description': '*',
@@ -7501,7 +7515,8 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
75017515
'region': '*'
75027516
},
75037517
'node': '*'
7504-
}
7518+
},
7519+
'ipAddressType': 'IpAddressType'
75057520
},
75067521
'disableExecuteApiEndpoint': 'boolean',
75077522
'description': '*',
@@ -7644,7 +7659,8 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
76447659
'region': '*'
76457660
},
76467661
'node': '*'
7647-
}
7662+
},
7663+
'ipAddressType': 'IpAddressType'
76487664
},
76497665
'disableExecuteApiEndpoint': 'boolean',
76507666
'description': '*',
@@ -7960,7 +7976,8 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
79607976
'region': '*'
79617977
},
79627978
'node': '*'
7963-
}
7979+
},
7980+
'ipAddressType': 'IpAddressType'
79647981
},
79657982
'disableExecuteApiEndpoint': 'boolean',
79667983
'description': '*',

packages/aws-cdk-lib/core/lib/analytics-data-source/enums.ts

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,29 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = {
127127
'SPOT_CAPACITY_OPTIMIZED',
128128
'SPOT_PRICE_CAPACITY_OPTIMIZED'
129129
],
130+
'AllowMapsAction': [
131+
'geo-maps:GetStaticMap',
132+
'geo-maps:GetTile',
133+
'geo-maps:*'
134+
],
135+
'AllowPlacesAction': [
136+
'geo-places:Autocomplete',
137+
'geo-places:Geocode',
138+
'geo-places:GetPlace',
139+
'geo-places:ReverseGeocode',
140+
'geo-places:SearchNearby',
141+
'geo-places:SearchText',
142+
'geo-places:Suggest',
143+
'geo-places:*'
144+
],
145+
'AllowRoutesAction': [
146+
'geo-routes:CalculateIsolines',
147+
'geo-routes:CalculateRoutes',
148+
'geo-routes:CalculateRouteMatrix',
149+
'geo-routes:OptimizeWaypoints',
150+
'geo-routes:SnapToRoads',
151+
'geo-routes:*'
152+
],
130153
'AlpnPolicy': [
131154
'HTTP1Only',
132155
'HTTP2Only',
@@ -1614,6 +1637,8 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = {
16141637
'r7a',
16151638
'memory8-graviton',
16161639
'r8g',
1640+
'memory8-graviton4-nvme-drive',
1641+
'r8gd',
16171642
'compute3',
16181643
'c3',
16191644
'compute4',
@@ -1646,6 +1671,8 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = {
16461671
'c6gd',
16471672
'compute7-graviton3-nvme-drive',
16481673
'c7gd',
1674+
'compute8-graviton4-nvme-drive',
1675+
'c8gd',
16491676
'compute6-graviton2-high-network-bandwidth',
16501677
'c6gn',
16511678
'compute7-graviton3-high-network-bandwidth',
@@ -1772,6 +1799,8 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = {
17721799
'm8g',
17731800
'standard7-graviton3-nvme-drive',
17741801
'm7gd',
1802+
'standard8-graviton4-nvme-drive',
1803+
'm8gd',
17751804
'standard7-intel',
17761805
'm7i',
17771806
'standard7-intel-flex',

packages/aws-cdk-lib/core/lib/analytics-data-source/enums/module-enumlikes.json

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,7 @@
588588
"AMAZON_NOVA_REEL_V1_0",
589589
"AMAZON_NOVA_REEL_V1_1",
590590
"AMAZON_NOVA_SONIC_V1_0",
591+
"AMAZON_NOVA_PREMIER_V1_0",
591592
"AI21_J2_MID",
592593
"AI21_LABS_JURASSIC_2_MID_V1",
593594
"AI21_J2_ULTRA",
@@ -660,6 +661,8 @@
660661
"META_LLAMA_3_2_11B_INSTRUCT_V1",
661662
"META_LLAMA_3_2_90B_INSTRUCT_V1",
662663
"META_LLAMA_3_3_70B_INSTRUCT_V1",
664+
"META_LLAMA_4_MAVERICK_17B_INSTRUCT_V1_0",
665+
"META_LLAMA_4_SCOUT_17B_INSTRUCT_V1_0",
663666
"MISTRAL_MISTRAL_7B_INSTRUCT_V0_2",
664667
"MISTRAL_MIXTRAL_8X7B_INSTRUCT_V0_1",
665668
"MISTRAL_LARGE_V0_1",
@@ -675,7 +678,9 @@
675678
"STABILITY_STABLE_IMAGE_ULTRA_V1_0",
676679
"STABILITY_STABLE_IMAGE_ULTRA_V1_1",
677680
"STABILITY_STABLE_IMAGE_CORE_V1_0",
678-
"STABILITY_STABLE_IMAGE_CORE_V1_1"
681+
"STABILITY_STABLE_IMAGE_CORE_V1_1",
682+
"WRITER_PALMYRA_X4_V1_0",
683+
"WRITER_PALMYRA_X5_V1_0"
679684
]
680685
},
681686
"aws-cdk/packages/aws-cdk-lib/aws-certificatemanager/lib/certificate.ts": {
@@ -2294,7 +2299,8 @@
22942299
"OPENSEARCH_2_11",
22952300
"OPENSEARCH_2_13",
22962301
"OPENSEARCH_2_15",
2297-
"OPENSEARCH_2_17"
2302+
"OPENSEARCH_2_17",
2303+
"OPENSEARCH_2_19"
22982304
]
22992305
},
23002306
"aws-cdk/packages/aws-cdk-lib/aws-rds/lib/ca-certificate.ts": {
@@ -2521,7 +2527,8 @@
25212527
"VER_16_6_LIMITLESS",
25222528
"VER_16_8",
25232529
"VER_17_1",
2524-
"VER_17_2"
2530+
"VER_17_2",
2531+
"VER_17_4"
25252532
],
25262533
"DatabaseClusterEngine": [
25272534
"AURORA",
@@ -2714,8 +2721,10 @@
27142721
"VER_8_0_39",
27152722
"VER_8_0_40",
27162723
"VER_8_0_41",
2724+
"VER_8_0_42",
27172725
"VER_8_4_3",
2718-
"VER_8_4_4"
2726+
"VER_8_4_4",
2727+
"VER_8_4_5"
27192728
],
27202729
"PostgresEngineVersion": [
27212730
"VER_9_5",

packages/aws-cdk-lib/core/lib/analytics-data-source/enums/module-enums.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,31 @@
530530
""
531531
]
532532
},
533+
"aws-cdk/packages/@aws-cdk/aws-location-alpha/lib/api-key.ts": {
534+
"AllowMapsAction": [
535+
"geo-maps:GetStaticMap",
536+
"geo-maps:GetTile",
537+
"geo-maps:*"
538+
],
539+
"AllowPlacesAction": [
540+
"geo-places:Autocomplete",
541+
"geo-places:Geocode",
542+
"geo-places:GetPlace",
543+
"geo-places:ReverseGeocode",
544+
"geo-places:SearchNearby",
545+
"geo-places:SearchText",
546+
"geo-places:Suggest",
547+
"geo-places:*"
548+
],
549+
"AllowRoutesAction": [
550+
"geo-routes:CalculateIsolines",
551+
"geo-routes:CalculateRoutes",
552+
"geo-routes:CalculateRouteMatrix",
553+
"geo-routes:OptimizeWaypoints",
554+
"geo-routes:SnapToRoads",
555+
"geo-routes:*"
556+
]
557+
},
533558
"aws-cdk/packages/@aws-cdk/aws-location-alpha/lib/map.ts": {
534559
"CustomLayer": [
535560
"POI"
@@ -859,6 +884,10 @@
859884
]
860885
},
861886
"aws-cdk/packages/aws-cdk-lib/aws-apigateway/lib/restapi.ts": {
887+
"IpAddressType": [
888+
"ipv4",
889+
"dualstack"
890+
],
862891
"ApiKeySourceType": [
863892
"HEADER",
864893
"AUTHORIZER"
@@ -2419,6 +2448,8 @@
24192448
"r7a",
24202449
"memory8-graviton",
24212450
"r8g",
2451+
"memory8-graviton4-nvme-drive",
2452+
"r8gd",
24222453
"compute3",
24232454
"c3",
24242455
"compute4",
@@ -2451,6 +2482,8 @@
24512482
"c6gd",
24522483
"compute7-graviton3-nvme-drive",
24532484
"c7gd",
2485+
"compute8-graviton4-nvme-drive",
2486+
"c8gd",
24542487
"compute6-graviton2-high-network-bandwidth",
24552488
"c6gn",
24562489
"compute7-graviton3-high-network-bandwidth",
@@ -2577,6 +2610,8 @@
25772610
"m8g",
25782611
"standard7-graviton3-nvme-drive",
25792612
"m7gd",
2613+
"standard8-graviton4-nvme-drive",
2614+
"m8gd",
25802615
"standard7-intel",
25812616
"m7i",
25822617
"standard7-intel-flex",

packages/aws-cdk-lib/cx-api/FEATURE_FLAGS.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Flags come in three types:
9898
| [@aws-cdk/aws-stepfunctions:useDistributedMapResultWriterV2](#aws-cdkaws-stepfunctionsusedistributedmapresultwriterv2) | When enabled, the resultWriterV2 property of DistributedMap will be used insted of resultWriter | 2.188.0 | new default |
9999
| [@aws-cdk/pipelines:reduceCrossAccountActionRoleTrustScope](#aws-cdkpipelinesreducecrossaccountactionroletrustscope) | When enabled, scopes down the trust policy for the cross-account action role | 2.189.0 | new default |
100100
| [@aws-cdk/core:aspectPrioritiesMutating](#aws-cdkcoreaspectprioritiesmutating) | When set to true, Aspects added by the construct library on your behalf will be given a priority of MUTATING. | 2.189.1 | new default |
101-
| [@aws-cdk/s3-notifications:addS3TrustKeyPolicyForSnsSubscriptions](#aws-cdks3-notificationsadds3trustkeypolicyforsnssubscriptions) | Add an S3 trust policy to a KMS key resource policy for SNS subscriptions. | V2NEXT | (fix) |
101+
| [@aws-cdk/s3-notifications:addS3TrustKeyPolicyForSnsSubscriptions](#aws-cdks3-notificationsadds3trustkeypolicyforsnssubscriptions) | Add an S3 trust policy to a KMS key resource policy for SNS subscriptions. | 2.195.0 | fix |
102102

103103
<!-- END table -->
104104

@@ -2058,7 +2058,7 @@ be added with a priority of MUTATING, independent of this feature flag.
20582058
| (not in v1) | | |
20592059
| 2.189.1 | `false` | `true` |
20602060

2061-
**Compatibility with old behavior:**
2061+
**Compatibility with old behavior:**
20622062
To add mutating Aspects controlling construct values that can be overridden
20632063
by Aspects added by CDK, give them MUTATING priority:
20642064

@@ -2067,20 +2067,22 @@ be added with a priority of MUTATING, independent of this feature flag.
20672067
priority: AspectPriority.MUTATING,
20682068
});
20692069
```
2070+
20702071

20712072

20722073
### @aws-cdk/s3-notifications:addS3TrustKeyPolicyForSnsSubscriptions
20732074

2074-
*Add an S3 trust policy to a KMS key resource policy for SNS subscriptions.* (fix)
2075+
*Add an S3 trust policy to a KMS key resource policy for SNS subscriptions.*
2076+
2077+
Flag type: Backwards incompatible bugfix
20752078

20762079
When this feature flag is enabled, a S3 trust policy will be added to the KMS key resource policy for encrypted SNS subscriptions.
20772080

20782081

20792082
| Since | Default | Recommended |
20802083
| ----- | ----- | ----- |
20812084
| (not in v1) | | |
2082-
| V2NEXT | `false` | `true` |
2085+
| 2.195.0 | `false` | `true` |
20832086

2084-
**Compatibility with old behavior:** Disable the feature flag to remove the S3 trust policy from the KMS key resource policy.
20852087

20862088
<!-- END details -->

packages/aws-cdk-lib/cx-api/lib/features.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1570,7 +1570,7 @@ export const FLAGS: Record<string, FlagInfo> = {
15701570
detailsMd: `
15711571
When this feature flag is enabled, a S3 trust policy will be added to the KMS key resource policy for encrypted SNS subscriptions.
15721572
`,
1573-
introducedIn: { v2: 'V2NEXT' },
1573+
introducedIn: { v2: '2.195.0' },
15741574
recommendedValue: true,
15751575
},
15761576
};

version.v2.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"version": "2.194.0",
3-
"alphaVersion": "2.194.0-alpha.0"
2+
"version": "2.195.0",
3+
"alphaVersion": "2.195.0-alpha.0"
44
}

0 commit comments

Comments
 (0)