AWS Step Functions AWS SDK Integration

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 to ListBuckets 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