Skip to content

Commit efe936c

Browse files
chore: update analytics metadata blueprints
1 parent 96ff514 commit efe936c

File tree

5 files changed

+281
-6
lines changed

5 files changed

+281
-6
lines changed

packages/@aws-cdk/aws-imagebuilder-alpha/lib/infrastructure-configuration.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import * as iam from 'aws-cdk-lib/aws-iam';
44
import { CfnInfrastructureConfiguration } from 'aws-cdk-lib/aws-imagebuilder';
55
import * as s3 from 'aws-cdk-lib/aws-s3';
66
import * as sns from 'aws-cdk-lib/aws-sns';
7+
import { addConstructMetadata } from 'aws-cdk-lib/core/lib/metadata-resource';
78
import { propertyInjectable } from 'aws-cdk-lib/core/lib/prop-injectable';
89
import { Construct } from 'constructs';
910

@@ -413,6 +414,8 @@ export class InfrastructureConfiguration extends InfrastructureConfigurationBase
413414
}).toLowerCase(), // Enforce lowercase for the auto-generated fallback
414415
}),
415416
});
417+
// Enhanced CDK Analytics Telemetry
418+
addConstructMetadata(this, props);
416419

417420
Object.defineProperty(this, INFRASTRUCTURE_CONFIGURATION_SYMBOL, { value: true });
418421

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

Lines changed: 229 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1974,6 +1974,174 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
19741974
},
19751975
'Table': {}
19761976
},
1977+
'@aws-cdk.aws-imagebuilder-alpha': {
1978+
'InfrastructureConfiguration': {
1979+
'infrastructureConfigurationName': '*',
1980+
'description': '*',
1981+
'instanceTypes': '*',
1982+
'instanceProfile': {
1983+
'instanceProfileName': '*',
1984+
'instanceProfileArn': '*',
1985+
'role': {
1986+
'roleArn': '*',
1987+
'roleName': '*',
1988+
'assumeRoleAction': '*',
1989+
'policyFragment': '*',
1990+
'principalAccount': '*',
1991+
'grantPrincipal': {
1992+
'assumeRoleAction': '*',
1993+
'principalAccount': '*'
1994+
},
1995+
'stack': '*',
1996+
'node': '*',
1997+
'env': {
1998+
'account': '*',
1999+
'region': '*'
2000+
}
2001+
}
2002+
},
2003+
'role': {
2004+
'roleArn': '*',
2005+
'roleName': '*',
2006+
'assumeRoleAction': '*',
2007+
'policyFragment': '*',
2008+
'principalAccount': '*',
2009+
'grantPrincipal': {
2010+
'assumeRoleAction': '*',
2011+
'principalAccount': '*'
2012+
},
2013+
'stack': '*',
2014+
'node': '*',
2015+
'env': {
2016+
'account': '*',
2017+
'region': '*'
2018+
}
2019+
},
2020+
'vpc': {
2021+
'vpcId': '*',
2022+
'vpcArn': '*',
2023+
'vpcCidrBlock': '*',
2024+
'publicSubnets': {
2025+
'availabilityZone': '*',
2026+
'subnetId': '*',
2027+
'internetConnectivityEstablished': '*',
2028+
'ipv4CidrBlock': '*',
2029+
'routeTable': {
2030+
'routeTableId': '*'
2031+
},
2032+
'stack': '*',
2033+
'node': '*',
2034+
'env': {
2035+
'account': '*',
2036+
'region': '*'
2037+
}
2038+
},
2039+
'availabilityZones': '*',
2040+
'vpnGatewayId': '*'
2041+
},
2042+
'subnetSelection': {
2043+
'subnetType': 'SubnetType',
2044+
'availabilityZones': '*',
2045+
'subnetGroupName': '*',
2046+
'subnetName': '*',
2047+
'onePerAz': 'boolean',
2048+
'subnetFilters': '*',
2049+
'subnets': {
2050+
'availabilityZone': '*',
2051+
'subnetId': '*',
2052+
'internetConnectivityEstablished': '*',
2053+
'ipv4CidrBlock': '*',
2054+
'routeTable': {
2055+
'routeTableId': '*'
2056+
},
2057+
'stack': '*',
2058+
'node': '*',
2059+
'env': {
2060+
'account': '*',
2061+
'region': '*'
2062+
}
2063+
}
2064+
},
2065+
'securityGroups': {
2066+
'securityGroupId': '*',
2067+
'allowAllOutbound': 'boolean',
2068+
'stack': '*',
2069+
'node': '*',
2070+
'env': {
2071+
'account': '*',
2072+
'region': '*'
2073+
},
2074+
'canInlineRule': 'boolean',
2075+
'uniqueId': '*',
2076+
'connections': '*'
2077+
},
2078+
'keyPair': {
2079+
'keyPairName': '*',
2080+
'type': 'KeyPairType',
2081+
'stack': '*',
2082+
'node': '*',
2083+
'env': {
2084+
'account': '*',
2085+
'region': '*'
2086+
}
2087+
},
2088+
'terminateInstanceOnFailure': 'boolean',
2089+
'httpPutResponseHopLimit': '*',
2090+
'httpTokens': 'HttpTokens',
2091+
'notificationTopic': {
2092+
'topicArn': '*',
2093+
'topicName': '*',
2094+
'masterKey': {
2095+
'keyArn': '*',
2096+
'keyId': '*',
2097+
'stack': '*',
2098+
'node': '*',
2099+
'env': {
2100+
'account': '*',
2101+
'region': '*'
2102+
}
2103+
},
2104+
'contentBasedDeduplication': 'boolean',
2105+
'fifo': 'boolean'
2106+
},
2107+
'logging': {
2108+
's3Bucket': {
2109+
'bucketArn': '*',
2110+
'bucketName': '*',
2111+
'bucketWebsiteUrl': '*',
2112+
'bucketWebsiteDomainName': '*',
2113+
'bucketDomainName': '*',
2114+
'bucketDualStackDomainName': '*',
2115+
'bucketRegionalDomainName': '*',
2116+
'isWebsite': 'boolean',
2117+
'encryptionKey': {
2118+
'keyArn': '*',
2119+
'keyId': '*',
2120+
'stack': '*',
2121+
'node': '*',
2122+
'env': {
2123+
'account': '*',
2124+
'region': '*'
2125+
}
2126+
},
2127+
'policy': '*',
2128+
'replicationRoleArn': '*'
2129+
},
2130+
's3KeyPrefix': '*'
2131+
},
2132+
'ec2InstanceAvailabilityZone': '*',
2133+
'ec2InstanceHostId': '*',
2134+
'ec2InstanceHostResourceGroupArn': '*',
2135+
'ec2InstanceTenancy': 'Tenancy',
2136+
'resourceTags': '*',
2137+
'tags': '*',
2138+
'_bind': [
2139+
{
2140+
'isContainerBuild': 'boolean'
2141+
}
2142+
]
2143+
}
2144+
},
19772145
'@aws-cdk.aws-iot-alpha': {
19782146
'AccountAuditConfiguration': {},
19792147
'Logging': {},
@@ -3986,6 +4154,35 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
39864154
},
39874155
'variantName': '*'
39884156
},
4157+
'serverlessProductionVariant': {
4158+
'maxConcurrency': '*',
4159+
'memorySizeInMB': '*',
4160+
'provisionedConcurrency': '*',
4161+
'initialVariantWeight': '*',
4162+
'model': {
4163+
'modelArn': '*',
4164+
'modelName': '*',
4165+
'role': {
4166+
'roleArn': '*',
4167+
'roleName': '*',
4168+
'assumeRoleAction': '*',
4169+
'policyFragment': '*',
4170+
'principalAccount': '*',
4171+
'grantPrincipal': {
4172+
'assumeRoleAction': '*',
4173+
'principalAccount': '*'
4174+
},
4175+
'stack': '*',
4176+
'node': '*',
4177+
'env': {
4178+
'account': '*',
4179+
'region': '*'
4180+
}
4181+
},
4182+
'connections': '*'
4183+
},
4184+
'variantName': '*'
4185+
},
39894186
'addInstanceProductionVariant': [
39904187
{
39914188
'acceleratorType': '*',
@@ -4017,6 +4214,37 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
40174214
'variantName': '*'
40184215
}
40194216
],
4217+
'addServerlessProductionVariant': [
4218+
{
4219+
'maxConcurrency': '*',
4220+
'memorySizeInMB': '*',
4221+
'provisionedConcurrency': '*',
4222+
'initialVariantWeight': '*',
4223+
'model': {
4224+
'modelArn': '*',
4225+
'modelName': '*',
4226+
'role': {
4227+
'roleArn': '*',
4228+
'roleName': '*',
4229+
'assumeRoleAction': '*',
4230+
'policyFragment': '*',
4231+
'principalAccount': '*',
4232+
'grantPrincipal': {
4233+
'assumeRoleAction': '*',
4234+
'principalAccount': '*'
4235+
},
4236+
'stack': '*',
4237+
'node': '*',
4238+
'env': {
4239+
'account': '*',
4240+
'region': '*'
4241+
}
4242+
},
4243+
'connections': '*'
4244+
},
4245+
'variantName': '*'
4246+
}
4247+
],
40204248
'_findInstanceProductionVariant': [
40214249
'*'
40224250
]
@@ -5970,6 +6198,7 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
59706198
'integrationOptions': {
59716199
'proxy': 'boolean',
59726200
'allowTestInvoke': 'boolean',
6201+
'scopePermissionToMethod': 'boolean',
59736202
'cacheKeyParameters': '*',
59746203
'cacheNamespace': '*',
59756204
'contentHandling': 'ContentHandling',

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

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,14 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = {
11621162
"BUILD_GENERAL1_MEDIUM",
11631163
"BUILD_GENERAL1_LARGE",
11641164
"BUILD_GENERAL1_XLARGE",
1165-
"BUILD_GENERAL1_2XLARGE"
1165+
"BUILD_GENERAL1_2XLARGE",
1166+
"ATTRIBUTE_BASED_COMPUTE",
1167+
"BUILD_LAMBDA_10GB",
1168+
"BUILD_LAMBDA_1GB",
1169+
"BUILD_LAMBDA_2GB",
1170+
"BUILD_LAMBDA_4GB",
1171+
"BUILD_LAMBDA_8GB",
1172+
"CUSTOM_INSTANCE_TYPE"
11661173
],
11671174
"DockerVolumeConsistency": [
11681175
"consistent",
@@ -1652,6 +1659,10 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = {
16521659
"http",
16531660
"https"
16541661
],
1662+
"HttpTokens": [
1663+
"optional",
1664+
"required"
1665+
],
16551666
"HttpVersion": [
16561667
"http1.1",
16571668
"http2",
@@ -1835,6 +1846,8 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = {
18351846
"r8i-flex",
18361847
"memory7-amd",
18371848
"r7a",
1849+
"memory8-amd",
1850+
"r8a",
18381851
"memory8-graviton",
18391852
"r8g",
18401853
"memory8-graviton4-nvme-drive",
@@ -3296,7 +3309,8 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = {
32963309
"NetworkInterface",
32973310
"TransitGateway",
32983311
"VpcPeeringConnection",
3299-
"VpcEndpoint"
3312+
"VpcEndpoint",
3313+
"CoreNetwork"
33003314
],
33013315
"RoutingPolicy": [
33023316
"WEIGHTED",
@@ -3802,6 +3816,11 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = {
38023816
"Text",
38033817
"Object"
38043818
],
3819+
"Tenancy": [
3820+
"default",
3821+
"dedicated",
3822+
"host"
3823+
],
38053824
"TerminationPolicy": [
38063825
"AllocationStrategy",
38073826
"ClosestToNextInstanceHour",

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,8 @@
248248
"V1_30",
249249
"V1_31",
250250
"V1_32",
251-
"V1_33"
251+
"V1_33",
252+
"V1_34"
252253
]
253254
},
254255
"aws-cdk/packages/@aws-cdk/aws-glue-alpha/lib/connection.ts": {
@@ -2139,7 +2140,8 @@
21392140
"V1_30",
21402141
"V1_31",
21412142
"V1_32",
2142-
"V1_33"
2143+
"V1_33",
2144+
"V1_34"
21432145
]
21442146
},
21452147
"aws-cdk/packages/aws-cdk-lib/aws-elasticsearch/lib/domain.ts": {
@@ -2314,6 +2316,7 @@
23142316
"NODEJS_20_X",
23152317
"NODEJS_LATEST",
23162318
"NODEJS_22_X",
2319+
"NODEJS_24_X",
23172320
"PYTHON_2_7",
23182321
"PYTHON_3_6",
23192322
"PYTHON_3_7",

0 commit comments

Comments
 (0)