@@ -457,6 +457,82 @@ Object {
457457 },
458458 " Type" : " AWS::IAM::Role" ,
459459 },
460+ " AWSCDKTriggerCustomResourceProviderCustomResourceProviderHandler97BECD91" : Object {
461+ " DependsOn" : Array [
462+ " AWSCDKTriggerCustomResourceProviderCustomResourceProviderRoleE18FAF0A" ,
463+ ],
464+ " Properties" : Object {
465+ " Code" : Object {
466+ " S3Bucket" : " cdk-hnb659fds-assets-123456789012-us-west-2" ,
467+ " S3Key" : " REDACTED" ,
468+ },
469+ " Handler" : " __entrypoint__.handler" ,
470+ " MemorySize" : 128 ,
471+ " Role" : Object {
472+ " Fn::GetAtt" : Array [
473+ " AWSCDKTriggerCustomResourceProviderCustomResourceProviderRoleE18FAF0A" ,
474+ " Arn" ,
475+ ],
476+ },
477+ " Runtime" : " nodejs22.x" ,
478+ " Timeout" : 900 ,
479+ },
480+ " Type" : " AWS::Lambda::Function" ,
481+ },
482+ " AWSCDKTriggerCustomResourceProviderCustomResourceProviderRoleE18FAF0A" : Object {
483+ " Properties" : Object {
484+ " AssumeRolePolicyDocument" : Object {
485+ " Statement" : Array [
486+ Object {
487+ " Action" : " sts:AssumeRole" ,
488+ " Effect" : " Allow" ,
489+ " Principal" : Object {
490+ " Service" : " lambda.amazonaws.com" ,
491+ },
492+ },
493+ ],
494+ " Version" : " 2012-10-17" ,
495+ },
496+ " ManagedPolicyArns" : Array [
497+ Object {
498+ " Fn::Sub" : " arn:\$ {AWS::Partition}:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole" ,
499+ },
500+ ],
501+ " Policies" : Array [
502+ Object {
503+ " PolicyDocument" : Object {
504+ " Statement" : Array [
505+ Object {
506+ " Action" : Array [
507+ " lambda:InvokeFunction" ,
508+ ],
509+ " Effect" : " Allow" ,
510+ " Resource" : Array [
511+ Object {
512+ " Fn::Join" : Array [
513+ " " ,
514+ Array [
515+ Object {
516+ " Fn::GetAtt" : Array [
517+ " WebappMigrationRunnerAC67C012" ,
518+ " Arn" ,
519+ ],
520+ },
521+ " :*" ,
522+ ],
523+ ],
524+ },
525+ ],
526+ },
527+ ],
528+ " Version" : " 2012-10-17" ,
529+ },
530+ " PolicyName" : " Inline" ,
531+ },
532+ ],
533+ },
534+ " Type" : " AWS::IAM::Role" ,
535+ },
460536 " AccessLogBucketAutoDeleteObjectsCustomResource01AB31E8" : Object {
461537 " DeletionPolicy" : " Delete" ,
462538 " DependsOn" : Array [
@@ -3638,6 +3714,22 @@ sudo service iptables save",
36383714 },
36393715 " Type" : " AWS::Lambda::Function" ,
36403716 } ,
3717+ "WebappMigrationRunnerCurrentVersionREDACTED": Object {
3718+ " DependsOn" : Array [
3719+ " VpcPrivateSubnet1DefaultRouteBE02A9ED" ,
3720+ " VpcPrivateSubnet1RouteTableAssociation70C59FA6" ,
3721+ " VpcPrivateSubnet2DefaultRoute060D2087" ,
3722+ " VpcPrivateSubnet2RouteTableAssociationA89CAD56" ,
3723+ " VpcPrivateSubnet3DefaultRoute94B74F0D" ,
3724+ " VpcPrivateSubnet3RouteTableAssociation16BDDC43" ,
3725+ ],
3726+ " Properties" : Object {
3727+ " FunctionName" : Object {
3728+ " Ref" : " WebappMigrationRunnerAC67C012" ,
3729+ },
3730+ },
3731+ " Type" : " AWS::Lambda::Version" ,
3732+ } ,
36413733 "WebappMigrationRunnerSecurityGroup7F0DF264": Object {
36423734 " DependsOn" : Array [
36433735 " VpcPrivateSubnet1DefaultRouteBE02A9ED" ,
@@ -3713,6 +3805,37 @@ sudo service iptables save",
37133805 },
37143806 " Type" : " AWS::IAM::Role" ,
37153807 } ,
3808+ "WebappMigrationTrigger42AFC1D9": Object {
3809+ " DeletionPolicy" : " Delete" ,
3810+ " DependsOn" : Array [
3811+ " DatabaseCluster5B53A178" ,
3812+ " DatabaseClusterSecretAttachmentDC8466C0" ,
3813+ " DatabaseClusterSecretD1FB634F" ,
3814+ " DatabaseClusterSecurityGroupfromServerlessWebappStarterKitStackAsyncJobHandlerSecurityGroup5220DFB3IndirectPort9323962E" ,
3815+ " DatabaseClusterSecurityGroupfromServerlessWebappStarterKitStackDatabaseBastionHostInstanceSecurityGroup4F0DD25BIndirectPort8AFD9922" ,
3816+ " DatabaseClusterSecurityGroupfromServerlessWebappStarterKitStackWebappHandlerSecurityGroupA009CF4AIndirectPort7311063E" ,
3817+ " DatabaseClusterSecurityGroupfromServerlessWebappStarterKitStackWebappMigrationRunnerSecurityGroupC0959349IndirectPortDCF4A356" ,
3818+ " DatabaseClusterSecurityGroupFEF1426A" ,
3819+ " DatabaseClusterSubnets5540150D" ,
3820+ " DatabaseClusterWriterD43085C6" ,
3821+ ],
3822+ " Properties" : Object {
3823+ " ExecuteOnHandlerChange" : true ,
3824+ " HandlerArn" : Object {
3825+ " Ref" : " WebappMigrationRunnerCurrentVersionREDACTED" ,
3826+ },
3827+ " InvocationType" : " RequestResponse" ,
3828+ " ServiceToken" : Object {
3829+ " Fn::GetAtt" : Array [
3830+ " AWSCDKTriggerCustomResourceProviderCustomResourceProviderHandler97BECD91" ,
3831+ " Arn" ,
3832+ ],
3833+ },
3834+ " Timeout" : " 120000" ,
3835+ },
3836+ " Type" : " Custom::Trigger" ,
3837+ " UpdateReplacePolicy" : " Delete" ,
3838+ } ,
37163839 "WebappOrigin1FunctionUrlOriginAccessControlEA98B600": Object {
37173840 " Properties" : Object {
37183841 " OriginAccessControlConfig" : Object {
0 commit comments