AWS Step Functions AWS SDK Integration
Written in 2021. Tools, APIs and prices may have changed since.
Lab note What I wrote down while learning this by building with it. Short by design; the code is in pfeilbr/aws-step-functions-aws-sdk-integration-playground.
learn AWS Step Functions AWS SDK Integrations. Provides direct integration with 200+ AWS services
Demo
Based on Gather Amazon S3 bucket info using AWS SDK service integrations - AWS Step Functions.
Deploy example01.yaml stack
NOTE:
ResultSelectoradded toListBucketsto hard code an array containing a single bucket to reduce amount of processing.
PROFILE="admin"
REGION="us-east-1"
STACK_NAME="aws-step-functions-aws-sdk-integration-playground"
aws cloudformation deploy \
--profile "${PROFILE}" \
--region "${REGION}" \
--stack-name "${STACK_NAME}" \
--template-file example01.yaml \
--capabilities "CAPABILITY_IAM" "CAPABILITY_NAMED_IAM" "CAPABILITY_AUTO_EXPAND"
# execute step fn
aws stepfunctions start-execution \
--state-machine-arn "arn:aws:states:us-east-1:123456789012:stateMachine:Gather-S3-Bucket-Info-Standard" \
--input "{}"
Example Execution
