-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding support for KMS in StateMachine and Activity resources
- Loading branch information
Vaid Saraswat
committed
Aug 7, 2024
1 parent
f9b5d7a
commit a3fecf0
Showing
23 changed files
with
1,647 additions
and
322 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
...chineAndActivityWithAOKEncryptionConfigurationDefaultTestDeployAssert7B5CA61B.assets.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
36 changes: 36 additions & 0 deletions
36
...ineAndActivityWithAOKEncryptionConfigurationDefaultTestDeployAssert7B5CA61B.template.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
...napshot/aws-stepfunctions-statemachine-and-activity-with-aok-encryptionconfig.assets.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
86 changes: 86 additions & 0 deletions
86
...pshot/aws-stepfunctions-statemachine-and-activity-with-aok-encryptionconfig.template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
{ | ||
"Resources": { | ||
"StateMachineWithAOKEncryptionConfigurationRoleA5E4221F": { | ||
"Type": "AWS::IAM::Role", | ||
"Properties": { | ||
"AssumeRolePolicyDocument": { | ||
"Statement": [ | ||
{ | ||
"Action": "sts:AssumeRole", | ||
"Effect": "Allow", | ||
"Principal": { | ||
"Service": "states.amazonaws.com" | ||
} | ||
} | ||
], | ||
"Version": "2012-10-17" | ||
} | ||
} | ||
}, | ||
"StateMachineWithAOKEncryptionConfiguration934313C7": { | ||
"Type": "AWS::StepFunctions::StateMachine", | ||
"Properties": { | ||
"DefinitionString": "{\"StartAt\":\"Pass\",\"States\":{\"Pass\":{\"Type\":\"Pass\",\"End\":true}}}", | ||
"EncryptionConfiguration": { | ||
"Type": "AWS_OWNED_KEY" | ||
}, | ||
"RoleArn": { | ||
"Fn::GetAtt": [ | ||
"StateMachineWithAOKEncryptionConfigurationRoleA5E4221F", | ||
"Arn" | ||
] | ||
}, | ||
"StateMachineName": "StateMachineWithCMKEncryptionConfiguration", | ||
"StateMachineType": "STANDARD" | ||
}, | ||
"DependsOn": [ | ||
"StateMachineWithAOKEncryptionConfigurationRoleA5E4221F" | ||
], | ||
"UpdateReplacePolicy": "Delete", | ||
"DeletionPolicy": "Delete" | ||
}, | ||
"ActivityWithAOKEncryptionConfiguration065A6DC5": { | ||
"Type": "AWS::StepFunctions::Activity", | ||
"Properties": { | ||
"EncryptionConfiguration": { | ||
"Type": "AWS_OWNED_KEY" | ||
}, | ||
"Name": "ActivityWithCMKEncryptionConfiguration" | ||
} | ||
} | ||
}, | ||
"Parameters": { | ||
"BootstrapVersion": { | ||
"Type": "AWS::SSM::Parameter::Value<String>", | ||
"Default": "/cdk-bootstrap/hnb659fds/version", | ||
"Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]" | ||
} | ||
}, | ||
"Rules": { | ||
"CheckBootstrapVersion": { | ||
"Assertions": [ | ||
{ | ||
"Assert": { | ||
"Fn::Not": [ | ||
{ | ||
"Fn::Contains": [ | ||
[ | ||
"1", | ||
"2", | ||
"3", | ||
"4", | ||
"5" | ||
], | ||
{ | ||
"Ref": "BootstrapVersion" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI." | ||
} | ||
] | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...g/test/aws-stepfunctions/test/integ.state-machine-and-activity-aok.js.snapshot/integ.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
125 changes: 125 additions & 0 deletions
125
...est/aws-stepfunctions/test/integ.state-machine-and-activity-aok.js.snapshot/manifest.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.