Skip to content

Commit 20275e4

Browse files
chore: update analytics metadata blueprints
1 parent 76525f7 commit 20275e4

File tree

3 files changed

+121
-121
lines changed

3 files changed

+121
-121
lines changed

packages/aws-cdk-lib/aws-apigateway/lib/restapi.ts

+2
Original file line numberDiff line numberDiff line change
@@ -779,6 +779,7 @@ export class SpecRestApi extends RestApiBase {
779779
*
780780
* @param statement The policy statement to add
781781
*/
782+
@MethodMetadata()
782783
public addToResourcePolicy(statement: iam.PolicyStatement): iam.AddToResourcePolicyResult {
783784
this.resourcePolicy = this.resourcePolicy ?? new iam.PolicyDocument();
784785
this.resourcePolicy.addStatements(statement);
@@ -932,6 +933,7 @@ export class RestApi extends RestApiBase {
932933
*
933934
* @param statement The policy statement to add
934935
*/
936+
@MethodMetadata()
935937
public addToResourcePolicy(statement: iam.PolicyStatement): iam.AddToResourcePolicyResult {
936938
this.resourcePolicy = this.resourcePolicy ?? new iam.PolicyDocument();
937939
this.resourcePolicy.addStatements(statement);

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

+88-118
Original file line numberDiff line numberDiff line change
@@ -515,81 +515,6 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
515515
}
516516
},
517517
'@aws-cdk.aws-cognito-identitypool-alpha': {
518-
'IdentityPoolRoleAttachment': {
519-
'identityPool': {
520-
'identityPoolId': '*',
521-
'identityPoolArn': '*',
522-
'identityPoolName': '*',
523-
'stack': '*',
524-
'env': {
525-
'account': '*',
526-
'region': '*'
527-
},
528-
'node': '*'
529-
},
530-
'authenticatedRole': {
531-
'roleArn': '*',
532-
'roleName': '*',
533-
'assumeRoleAction': '*',
534-
'policyFragment': '*',
535-
'principalAccount': '*',
536-
'grantPrincipal': {
537-
'assumeRoleAction': '*',
538-
'principalAccount': '*'
539-
},
540-
'stack': '*',
541-
'env': {
542-
'account': '*',
543-
'region': '*'
544-
},
545-
'node': '*'
546-
},
547-
'unauthenticatedRole': {
548-
'roleArn': '*',
549-
'roleName': '*',
550-
'assumeRoleAction': '*',
551-
'policyFragment': '*',
552-
'principalAccount': '*',
553-
'grantPrincipal': {
554-
'assumeRoleAction': '*',
555-
'principalAccount': '*'
556-
},
557-
'stack': '*',
558-
'env': {
559-
'account': '*',
560-
'region': '*'
561-
},
562-
'node': '*'
563-
},
564-
'roleMappings': {
565-
'providerUrl': '*',
566-
'mappingKey': '*',
567-
'useToken': 'boolean',
568-
'resolveAmbiguousRoles': 'boolean',
569-
'rules': {
570-
'claim': '*',
571-
'mappedRole': {
572-
'roleArn': '*',
573-
'roleName': '*',
574-
'assumeRoleAction': '*',
575-
'policyFragment': '*',
576-
'principalAccount': '*',
577-
'grantPrincipal': {
578-
'assumeRoleAction': '*',
579-
'principalAccount': '*'
580-
},
581-
'stack': '*',
582-
'env': {
583-
'account': '*',
584-
'region': '*'
585-
},
586-
'node': '*'
587-
},
588-
'claimValue': '*',
589-
'matchType': 'RoleMappingMatchType'
590-
}
591-
}
592-
},
593518
'IdentityPool': {
594519
'identityPoolName': '*',
595520
'authenticatedRole': {
@@ -691,36 +616,6 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
691616
},
692617
'addUserPoolAuthentication': [
693618
'*'
694-
],
695-
'addRoleMappings': [
696-
{
697-
'providerUrl': '*',
698-
'mappingKey': '*',
699-
'useToken': 'boolean',
700-
'resolveAmbiguousRoles': 'boolean',
701-
'rules': {
702-
'claim': '*',
703-
'mappedRole': {
704-
'roleArn': '*',
705-
'roleName': '*',
706-
'assumeRoleAction': '*',
707-
'policyFragment': '*',
708-
'principalAccount': '*',
709-
'grantPrincipal': {
710-
'assumeRoleAction': '*',
711-
'principalAccount': '*'
712-
},
713-
'stack': '*',
714-
'env': {
715-
'account': '*',
716-
'region': '*'
717-
},
718-
'node': '*'
719-
},
720-
'claimValue': '*',
721-
'matchType': 'RoleMappingMatchType'
722-
}
723-
}
724619
]
725620
}
726621
},
@@ -2065,9 +1960,14 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
20651960
'@aws-cdk.aws-ivs-alpha': {
20661961
'Channel': {
20671962
'authorized': 'boolean',
1963+
'containerFormat': 'ContainerFormat',
20681964
'insecureIngest': 'boolean',
20691965
'latencyMode': 'LatencyMode',
20701966
'channelName': '*',
1967+
'multitrackInputConfiguration': {
1968+
'maximumResolution': 'MaximumResolution',
1969+
'policy': 'Policy'
1970+
},
20711971
'type': 'ChannelType',
20721972
'preset': 'Preset',
20731973
'recordingConfiguration': {
@@ -7664,7 +7564,10 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
76647564
'endpointExportName': '*',
76657565
'endpointTypes': 'EndpointType',
76667566
'disableExecuteApiEndpoint': 'boolean',
7667-
'description': '*'
7567+
'description': '*',
7568+
'addToResourcePolicy': [
7569+
'*'
7570+
]
76687571
},
76697572
'RestApi': {
76707573
'binaryMediaTypes': '*',
@@ -7847,6 +7750,9 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
78477750
'disableCache': 'boolean',
78487751
'exposeHeaders': '*'
78497752
},
7753+
'addToResourcePolicy': [
7754+
'*'
7755+
],
78507756
'addModel': [
78517757
'*',
78527758
{
@@ -11186,7 +11092,12 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
1118611092
'fleetName': '*',
1118711093
'baseCapacity': '*',
1118811094
'computeType': 'FleetComputeType',
11189-
'environmentType': 'EnvironmentType'
11095+
'environmentType': 'EnvironmentType',
11096+
'computeConfiguration': {
11097+
'disk': '*',
11098+
'machineType': 'MachineType',
11099+
'vCpu': '*'
11100+
}
1119011101
},
1119111102
'PipelineProject': {},
1119211103
'Project': {
@@ -11602,7 +11513,9 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
1160211513
'maxOutputs': '*'
1160311514
},
1160411515
'inputs': '*',
11605-
'variablesNamespace': '*'
11516+
'variablesNamespace': '*',
11517+
'commands': '*',
11518+
'outputVariables': '*'
1160611519
}
1160711520
},
1160811521
'transitionToEnabled': 'boolean',
@@ -11651,7 +11564,9 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
1165111564
'maxOutputs': '*'
1165211565
},
1165311566
'inputs': '*',
11654-
'variablesNamespace': '*'
11567+
'variablesNamespace': '*',
11568+
'commands': '*',
11569+
'outputVariables': '*'
1165511570
}
1165611571
},
1165711572
'pushFilter': {
@@ -11712,7 +11627,9 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
1171211627
'maxOutputs': '*'
1171311628
},
1171411629
'inputs': '*',
11715-
'variablesNamespace': '*'
11630+
'variablesNamespace': '*',
11631+
'commands': '*',
11632+
'outputVariables': '*'
1171611633
}
1171711634
}
1171811635
}
@@ -11767,7 +11684,9 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
1176711684
'maxOutputs': '*'
1176811685
},
1176911686
'inputs': '*',
11770-
'variablesNamespace': '*'
11687+
'variablesNamespace': '*',
11688+
'commands': '*',
11689+
'outputVariables': '*'
1177111690
}
1177211691
},
1177311692
'pushFilter': {
@@ -11824,7 +11743,9 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
1182411743
'maxOutputs': '*'
1182511744
},
1182611745
'inputs': '*',
11827-
'variablesNamespace': '*'
11746+
'variablesNamespace': '*',
11747+
'commands': '*',
11748+
'outputVariables': '*'
1182811749
}
1182911750
},
1183011751
'*'
@@ -11891,7 +11812,30 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
1189111812
'readAttributes': '*',
1189211813
'writeAttributes': '*',
1189311814
'enableTokenRevocation': 'boolean',
11894-
'enablePropagateAdditionalUserContextData': 'boolean'
11815+
'enablePropagateAdditionalUserContextData': 'boolean',
11816+
'analytics': {
11817+
'application': '*',
11818+
'applicationId': '*',
11819+
'externalId': '*',
11820+
'role': {
11821+
'roleArn': '*',
11822+
'roleName': '*',
11823+
'assumeRoleAction': '*',
11824+
'policyFragment': '*',
11825+
'principalAccount': '*',
11826+
'grantPrincipal': {
11827+
'assumeRoleAction': '*',
11828+
'principalAccount': '*'
11829+
},
11830+
'stack': '*',
11831+
'env': {
11832+
'account': '*',
11833+
'region': '*'
11834+
},
11835+
'node': '*'
11836+
},
11837+
'shareUserData': 'boolean'
11838+
}
1189511839
},
1189611840
'UserPoolDomain': {
1189711841
'userPool': {
@@ -12064,6 +12008,16 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
1206412008
'requireSymbols': 'boolean',
1206512009
'passwordHistorySize': '*'
1206612010
},
12011+
'signInPolicy': {
12012+
'allowedFirstAuthFactors': {
12013+
'password': 'boolean',
12014+
'emailOtp': 'boolean',
12015+
'smsOtp': 'boolean',
12016+
'passkey': 'boolean'
12017+
}
12018+
},
12019+
'passkeyRelyingPartyId': '*',
12020+
'passkeyUserVerification': 'PasskeyUserVerification',
1206712021
'emailSettings': {
1206812022
'from': '*',
1206912023
'replyTo': '*'
@@ -15053,6 +15007,12 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
1505315007
},
1505415008
'clusterLogging': 'ClusterLoggingTypes',
1505515009
'authenticationMode': 'AuthenticationMode',
15010+
'remoteNodeNetworks': {
15011+
'cidrs': '*'
15012+
},
15013+
'remotePodNetworks': {
15014+
'cidrs': '*'
15015+
},
1505615016
'vpc': {
1505715017
'vpcId': '*',
1505815018
'vpcArn': '*',
@@ -15630,6 +15590,12 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
1563015590
},
1563115591
'clusterLogging': 'ClusterLoggingTypes',
1563215592
'authenticationMode': 'AuthenticationMode',
15593+
'remoteNodeNetworks': {
15594+
'cidrs': '*'
15595+
},
15596+
'remotePodNetworks': {
15597+
'cidrs': '*'
15598+
},
1563315599
'vpc': {
1563415600
'vpcId': '*',
1563515601
'vpcArn': '*',
@@ -19476,6 +19442,7 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
1947619442
},
1947719443
'node': '*'
1947819444
},
19445+
'databaseInsightsMode': 'DatabaseInsightsMode',
1947919446
'autoMinorVersionUpgrade': 'boolean',
1948019447
'clusterScalabilityType': 'ClusterScalabilityType',
1948119448
'clusterScailabilityType': 'ClusterScailabilityType'
@@ -19807,6 +19774,7 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
1980719774
},
1980819775
'node': '*'
1980919776
},
19777+
'databaseInsightsMode': 'DatabaseInsightsMode',
1981019778
'autoMinorVersionUpgrade': 'boolean',
1981119779
'clusterScalabilityType': 'ClusterScalabilityType',
1981219780
'clusterScailabilityType': 'ClusterScailabilityType'
@@ -23593,9 +23561,6 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
2359323561
'aws-cdk-lib.lambda-layer-awscli': {
2359423562
'AwsCliLayer': {}
2359523563
},
23596-
'aws-cdk-lib.lambda-layer-kubectl': {
23597-
'KubectlLayer': {}
23598-
},
2359923564
'aws-cdk-lib.lambda-layer-node-proxy-agent': {
2360023565
'NodeProxyAgentLayer': {}
2360123566
},
@@ -24874,7 +24839,8 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
2487424839
'rateLimit': '*',
2487524840
'burstLimit': '*'
2487624841
},
24877-
'description': '*'
24842+
'description': '*',
24843+
'detailedMetricsEnabled': 'boolean'
2487824844
}
2487924845
],
2488024846
'addRoutes': [
@@ -24998,7 +24964,8 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
2499824964
'rateLimit': '*',
2499924965
'burstLimit': '*'
2500024966
},
25001-
'description': '*'
24967+
'description': '*',
24968+
'detailedMetricsEnabled': 'boolean'
2500224969
},
2500324970
'VpcLink': {
2500424971
'vpc': {
@@ -25224,6 +25191,7 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
2522425191
'burstLimit': '*'
2522525192
},
2522625193
'description': '*',
25194+
'detailedMetricsEnabled': 'boolean',
2522725195
'grantManagementApiAccess': [
2522825196
{
2522925197
'grantPrincipal': {
@@ -27980,6 +27948,7 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
2798027948
'deletionProtection': 'boolean',
2798127949
'crossZoneEnabled': 'boolean',
2798227950
'denyAllIgwTraffic': 'boolean',
27951+
'minimumCapacityUnit': '*',
2798327952
'addListener': [
2798427953
'*',
2798527954
{
@@ -28779,6 +28748,7 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
2877928748
'deletionProtection': 'boolean',
2878028749
'crossZoneEnabled': 'boolean',
2878128750
'denyAllIgwTraffic': 'boolean',
28751+
'minimumCapacityUnit': '*',
2878228752
'addListener': [
2878328753
'*',
2878428754
{

0 commit comments

Comments
 (0)