Skip to content

Commit 0e06457

Browse files
chore: update analytics metadata blueprints
1 parent d52bfdf commit 0e06457

File tree

6 files changed

+323
-68
lines changed

6 files changed

+323
-68
lines changed

packages/aws-cdk-lib/aws-events/lib/event-bus.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,7 @@ class ImportedEventBus extends EventBusBase {
483483
this.eventSourceName = attrs.eventSourceName;
484484
}
485485

486+
@MethodMetadata()
486487
public addToResourcePolicy(_statement: iam.PolicyStatement): iam.AddToResourcePolicyResult {
487488
// Warn the user
488489
Annotations.of(this).addWarningV2(

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

Lines changed: 255 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11711,7 +11711,17 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
1171111711
}
1171211712
},
1171311713
'transitionToEnabled': 'boolean',
11714-
'transitionDisabledReason': '*'
11714+
'transitionDisabledReason': '*',
11715+
'beforeEntry': {
11716+
'conditions': {
11717+
'rules': '*',
11718+
'result': 'Result'
11719+
}
11720+
},
11721+
'onFailure': {
11722+
'result': 'Result',
11723+
'retryMode': 'RetryMode'
11724+
}
1171511725
},
1171611726
'crossAccountKeys': 'boolean',
1171711727
'enableKeyRotation': 'boolean',
@@ -11764,14 +11774,18 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
1176411774
},
1176511775
'pushFilter': {
1176611776
'tagsExcludes': '*',
11767-
'tagsIncludes': '*'
11777+
'tagsIncludes': '*',
11778+
'branchesExcludes': '*',
11779+
'branchesIncludes': '*',
11780+
'filePathsExcludes': '*',
11781+
'filePathsIncludes': '*'
1176811782
},
1176911783
'pullRequestFilter': {
11784+
'events': 'GitPullRequestEvent',
1177011785
'branchesExcludes': '*',
1177111786
'branchesIncludes': '*',
1177211787
'filePathsExcludes': '*',
11773-
'filePathsIncludes': '*',
11774-
'events': 'GitPullRequestEvent'
11788+
'filePathsIncludes': '*'
1177511789
}
1177611790
}
1177711791
},
@@ -11830,7 +11844,17 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
1183011844
},
1183111845
'stageName': '*',
1183211846
'transitionToEnabled': 'boolean',
11833-
'transitionDisabledReason': '*'
11847+
'transitionDisabledReason': '*',
11848+
'beforeEntry': {
11849+
'conditions': {
11850+
'rules': '*',
11851+
'result': 'Result'
11852+
}
11853+
},
11854+
'onFailure': {
11855+
'result': 'Result',
11856+
'retryMode': 'RetryMode'
11857+
}
1183411858
}
1183511859
],
1183611860
'addToRolePolicy': [
@@ -11886,14 +11910,18 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
1188611910
},
1188711911
'pushFilter': {
1188811912
'tagsExcludes': '*',
11889-
'tagsIncludes': '*'
11913+
'tagsIncludes': '*',
11914+
'branchesExcludes': '*',
11915+
'branchesIncludes': '*',
11916+
'filePathsExcludes': '*',
11917+
'filePathsIncludes': '*'
1189011918
},
1189111919
'pullRequestFilter': {
11920+
'events': 'GitPullRequestEvent',
1189211921
'branchesExcludes': '*',
1189311922
'branchesIncludes': '*',
1189411923
'filePathsExcludes': '*',
11895-
'filePathsIncludes': '*',
11896-
'events': 'GitPullRequestEvent'
11924+
'filePathsIncludes': '*'
1189711925
}
1189811926
}
1189911927
}
@@ -12315,6 +12343,186 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
1231512343
]
1231612344
}
1231712345
},
12346+
'aws-cdk-lib.aws-cognito-identitypool': {
12347+
'IdentityPool': {
12348+
'identityPoolName': '*',
12349+
'authenticatedRole': {
12350+
'roleArn': '*',
12351+
'roleName': '*',
12352+
'assumeRoleAction': '*',
12353+
'policyFragment': '*',
12354+
'principalAccount': '*',
12355+
'grantPrincipal': {
12356+
'assumeRoleAction': '*',
12357+
'principalAccount': '*'
12358+
},
12359+
'stack': '*',
12360+
'env': {
12361+
'account': '*',
12362+
'region': '*'
12363+
},
12364+
'node': '*'
12365+
},
12366+
'unauthenticatedRole': {
12367+
'roleArn': '*',
12368+
'roleName': '*',
12369+
'assumeRoleAction': '*',
12370+
'policyFragment': '*',
12371+
'principalAccount': '*',
12372+
'grantPrincipal': {
12373+
'assumeRoleAction': '*',
12374+
'principalAccount': '*'
12375+
},
12376+
'stack': '*',
12377+
'env': {
12378+
'account': '*',
12379+
'region': '*'
12380+
},
12381+
'node': '*'
12382+
},
12383+
'allowUnauthenticatedIdentities': 'boolean',
12384+
'roleMappings': {
12385+
'providerUrl': '*',
12386+
'mappingKey': '*',
12387+
'useToken': 'boolean',
12388+
'resolveAmbiguousRoles': 'boolean',
12389+
'rules': {
12390+
'claim': '*',
12391+
'mappedRole': {
12392+
'roleArn': '*',
12393+
'roleName': '*',
12394+
'assumeRoleAction': '*',
12395+
'policyFragment': '*',
12396+
'principalAccount': '*',
12397+
'grantPrincipal': {
12398+
'assumeRoleAction': '*',
12399+
'principalAccount': '*'
12400+
},
12401+
'stack': '*',
12402+
'env': {
12403+
'account': '*',
12404+
'region': '*'
12405+
},
12406+
'node': '*'
12407+
},
12408+
'claimValue': '*',
12409+
'matchType': 'RoleMappingMatchType'
12410+
}
12411+
},
12412+
'allowClassicFlow': 'boolean',
12413+
'authenticationProviders': {
12414+
'facebook': {
12415+
'appId': '*'
12416+
},
12417+
'google': {
12418+
'clientId': '*'
12419+
},
12420+
'amazon': {
12421+
'appId': '*'
12422+
},
12423+
'apple': {
12424+
'servicesId': '*'
12425+
},
12426+
'twitter': {
12427+
'consumerKey': '*',
12428+
'consumerSecret': '*'
12429+
},
12430+
'userPools': '*',
12431+
'openIdConnectProviders': {
12432+
'openIdConnectProviderArn': '*',
12433+
'openIdConnectProviderIssuer': '*',
12434+
'stack': '*',
12435+
'env': {
12436+
'account': '*',
12437+
'region': '*'
12438+
},
12439+
'node': '*'
12440+
},
12441+
'samlProviders': {
12442+
'samlProviderArn': '*'
12443+
},
12444+
'customProvider': '*'
12445+
},
12446+
'addUserPoolAuthentication': [
12447+
'*'
12448+
]
12449+
},
12450+
'IdentityPoolRoleAttachment': {
12451+
'identityPool': {
12452+
'identityPoolId': '*',
12453+
'identityPoolArn': '*',
12454+
'identityPoolName': '*',
12455+
'stack': '*',
12456+
'env': {
12457+
'account': '*',
12458+
'region': '*'
12459+
},
12460+
'node': '*'
12461+
},
12462+
'authenticatedRole': {
12463+
'roleArn': '*',
12464+
'roleName': '*',
12465+
'assumeRoleAction': '*',
12466+
'policyFragment': '*',
12467+
'principalAccount': '*',
12468+
'grantPrincipal': {
12469+
'assumeRoleAction': '*',
12470+
'principalAccount': '*'
12471+
},
12472+
'stack': '*',
12473+
'env': {
12474+
'account': '*',
12475+
'region': '*'
12476+
},
12477+
'node': '*'
12478+
},
12479+
'unauthenticatedRole': {
12480+
'roleArn': '*',
12481+
'roleName': '*',
12482+
'assumeRoleAction': '*',
12483+
'policyFragment': '*',
12484+
'principalAccount': '*',
12485+
'grantPrincipal': {
12486+
'assumeRoleAction': '*',
12487+
'principalAccount': '*'
12488+
},
12489+
'stack': '*',
12490+
'env': {
12491+
'account': '*',
12492+
'region': '*'
12493+
},
12494+
'node': '*'
12495+
},
12496+
'roleMappings': {
12497+
'providerUrl': '*',
12498+
'mappingKey': '*',
12499+
'useToken': 'boolean',
12500+
'resolveAmbiguousRoles': 'boolean',
12501+
'rules': {
12502+
'claim': '*',
12503+
'mappedRole': {
12504+
'roleArn': '*',
12505+
'roleName': '*',
12506+
'assumeRoleAction': '*',
12507+
'policyFragment': '*',
12508+
'principalAccount': '*',
12509+
'grantPrincipal': {
12510+
'assumeRoleAction': '*',
12511+
'principalAccount': '*'
12512+
},
12513+
'stack': '*',
12514+
'env': {
12515+
'account': '*',
12516+
'region': '*'
12517+
},
12518+
'node': '*'
12519+
},
12520+
'claimValue': '*',
12521+
'matchType': 'RoleMappingMatchType'
12522+
}
12523+
}
12524+
}
12525+
},
1231812526
'aws-cdk-lib.aws-config': {
1231912527
'AccessKeysRotated': {
1232012528
'maxAge': '*',
@@ -13762,7 +13970,8 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
1376213970
'acceptanceRequired': 'boolean',
1376313971
'contributorInsights': 'boolean',
1376413972
'whitelistedPrincipals': '*',
13765-
'allowedPrincipals': '*'
13973+
'allowedPrincipals': '*',
13974+
'supportedIpAddressTypes': 'IpAddressType'
1376613975
},
1376713976
'GatewayVpcEndpoint': {
1376813977
'vpc': {
@@ -16373,7 +16582,10 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
1637316582
'eventBusName': '*',
1637416583
'eventBusArn': '*',
1637516584
'eventBusPolicy': '*',
16376-
'eventSourceName': '*'
16585+
'eventSourceName': '*',
16586+
'addToResourcePolicy': [
16587+
'*'
16588+
]
1637716589
},
1637816590
'EventBusPolicy': {
1637916591
'eventBus': {
@@ -22583,6 +22795,39 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
2258322795
]
2258422796
}
2258522797
},
22798+
'aws-cdk-lib.aws-scheduler': {
22799+
'ScheduleGroup': {},
22800+
'Schedule': {
22801+
'schedule': '*',
22802+
'target': '*',
22803+
'scheduleName': '*',
22804+
'description': '*',
22805+
'scheduleGroup': {
22806+
'scheduleGroupName': '*',
22807+
'scheduleGroupArn': '*',
22808+
'stack': '*',
22809+
'env': {
22810+
'account': '*',
22811+
'region': '*'
22812+
},
22813+
'node': '*'
22814+
},
22815+
'enabled': 'boolean',
22816+
'key': {
22817+
'keyArn': '*',
22818+
'keyId': '*',
22819+
'stack': '*',
22820+
'env': {
22821+
'account': '*',
22822+
'region': '*'
22823+
},
22824+
'node': '*'
22825+
},
22826+
'timeWindow': '*',
22827+
'start': '*',
22828+
'end': '*'
22829+
}
22830+
},
2258622831
'aws-cdk-lib.aws-secretsmanager': {
2258722832
'ResourcePolicy': {
2258822833
'secret': {

0 commit comments

Comments
 (0)