Skip to content

Commit 916c5ef

Browse files
chore: update analytics metadata blueprints
1 parent 1661b40 commit 916c5ef

File tree

5 files changed

+102
-9
lines changed

5 files changed

+102
-9
lines changed

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",

0 commit comments

Comments
 (0)