Created
January 6, 2022 15:30
-
-
Save coingraham/1c9b794ed60470ac759b83d8ddca9e21 to your computer and use it in GitHub Desktop.
State Functions S3 Copy SDK Task
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
{ | |
"Comment": "A description of my state machine", | |
"StartAt": "CopyObject", | |
"States": { | |
"CopyObject": { | |
"Type": "Task", | |
"End": true, | |
"Parameters": { | |
"ServerSideEncryption": "AES256", | |
"Bucket.$": "$.destination_bucket", | |
"CopySource.$": "$.source_path", | |
"Key.$": "$.key" | |
}, | |
"Resource": "arn:aws:states:::aws-sdk:s3:copyObject" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment