Created
March 21, 2024 21:05
-
-
Save gowthamshankar99/e9a26040d8d85814e66554ee35a611c0 to your computer and use it in GitHub Desktop.
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
AWSTemplateFormatVersion: '2010-09-09' | |
Resources: | |
MyStepFunctionStateMachine: | |
Type: AWS::StepFunctions::StateMachine | |
Properties: | |
DefinitionString: | |
Fn::Sub: | |
- | | |
{ | |
"Comment": "A description of my state machine", | |
"StartAt": "CopyObject", | |
"States": { | |
"CopyObject": { | |
"Type": "Task", | |
"End": true, | |
"Parameters": { | |
"Bucket": "MyData", | |
"CopySource": "MyData", | |
"Key": "MyData" | |
}, | |
"Resource": "arn:aws:states:::aws-sdk:s3:copyObject" | |
} | |
} | |
} | |
- { REGION: "us-east-1", ACCOUNT_ID: "123456789012" } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment