code for article 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:
ResultSelector
added toListBuckets
to 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:529276214230:stateMachine:Gather-S3-Bucket-Info-Standard" \
--input "{}"
Example Execution
Resources
- AWS Step Functions adds support for over 200 AWS Services with AWS SDK Integration
- Now — AWS Step Functions Supports 200 AWS Services To Enable Easier Workflow Automation | Amazon Web Services
- AWS SDK service integrations - AWS Step Functions
Twitter • Reddit