Skip to content

Commit 3c3df15

Browse files
chore: update enum static mapping (#34350)
This PR updates the CDK enum mapping file.
1 parent 9e52752 commit 3c3df15

File tree

3 files changed

+54
-0
lines changed

3 files changed

+54
-0
lines changed

tools/@aws-cdk/enum-updater/lib/cdk-enums.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4016,6 +4016,35 @@
40164016
"AWS_LAMBDA"
40174017
]
40184018
},
4019+
"HandlerBehavior": {
4020+
"path": "aws-cdk/packages/aws-cdk-lib/aws-appsync/lib/channel-namespace.ts",
4021+
"enumLike": false,
4022+
"values": [
4023+
"CODE",
4024+
"DIRECT"
4025+
]
4026+
},
4027+
"AppSyncDataSourceType": {
4028+
"path": "aws-cdk/packages/aws-cdk-lib/aws-appsync/lib/data-source-common.ts",
4029+
"enumLike": false,
4030+
"values": [
4031+
"AWS_LAMBDA",
4032+
"AMAZON_DYNAMODB",
4033+
"AMAZON_EVENTBRIDGE",
4034+
"AMAZON_OPENSEARCH_SERVICE",
4035+
"HTTP",
4036+
"RELATIONAL_DATABASE",
4037+
"AMAZON_BEDROCK_RUNTIME"
4038+
]
4039+
},
4040+
"LambdaInvokeType": {
4041+
"path": "aws-cdk/packages/aws-cdk-lib/aws-appsync/lib/data-source-common.ts",
4042+
"enumLike": false,
4043+
"values": [
4044+
"EVENT",
4045+
"REQUEST_RESPONSE"
4046+
]
4047+
},
40194048
"Visibility": {
40204049
"path": "aws-cdk/packages/aws-cdk-lib/aws-appsync/lib/graphqlapi-base.ts",
40214050
"enumLike": false,
@@ -5483,6 +5512,16 @@
54835512
"Events"
54845513
]
54855514
},
5515+
"RevisionType": {
5516+
"path": "aws-cdk/packages/aws-cdk-lib/aws-codepipeline-actions/lib/codepipeline/invoke-action.ts",
5517+
"enumLike": false,
5518+
"values": [
5519+
"COMMIT_ID",
5520+
"IMAGE_DIGEST",
5521+
"S3_OBJECT_VERSION_ID",
5522+
"S3_OBJECT_KEY"
5523+
]
5524+
},
54865525
"RegistryType": {
54875526
"path": "aws-cdk/packages/aws-cdk-lib/aws-codepipeline-actions/lib/ecr/build-and-publish-action.ts",
54885527
"enumLike": false,

tools/@aws-cdk/enum-updater/lib/static-enum-mapping.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,12 @@
508508
"sdk_enum_name": "AuthenticationType",
509509
"match_percentage": 1
510510
},
511+
"AppSyncDataSourceType": {
512+
"cdk_path": "aws-cdk/packages/aws-cdk-lib/aws-appsync/lib/data-source-common.ts",
513+
"sdk_service": "appsync",
514+
"sdk_enum_name": "Type",
515+
"match_percentage": 1
516+
},
511517
"Visibility": {
512518
"cdk_path": "aws-cdk/packages/aws-cdk-lib/aws-appsync/lib/graphqlapi-base.ts",
513519
"sdk_service": "appsync",

tools/@aws-cdk/enum-updater/lib/unmatched-enums.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -595,6 +595,12 @@
595595
}
596596
},
597597
"appsync": {
598+
"HandlerBehavior": {
599+
"cdk_path": "aws-cdk/packages/aws-cdk-lib/aws-appsync/lib/channel-namespace.ts"
600+
},
601+
"LambdaInvokeType": {
602+
"cdk_path": "aws-cdk/packages/aws-cdk-lib/aws-appsync/lib/data-source-common.ts"
603+
},
598604
"FunctionRuntime": {
599605
"cdk_path": "aws-cdk/packages/aws-cdk-lib/aws-appsync/lib/runtime.ts"
600606
}
@@ -892,6 +898,9 @@
892898
"CodeCommitTrigger": {
893899
"cdk_path": "aws-cdk/packages/aws-cdk-lib/aws-codepipeline-actions/lib/codecommit/source-action.ts"
894900
},
901+
"RevisionType": {
902+
"cdk_path": "aws-cdk/packages/aws-cdk-lib/aws-codepipeline-actions/lib/codepipeline/invoke-action.ts"
903+
},
895904
"RegistryType": {
896905
"cdk_path": "aws-cdk/packages/aws-cdk-lib/aws-codepipeline-actions/lib/ecr/build-and-publish-action.ts"
897906
},

0 commit comments

Comments
 (0)