AWS Step Functions
Basic example of AWS Step Functions in Python
This example lives in the pulumi/examples repository. Check out just this directory to use it:
git clone --filter=blob:none --sparse https://github.com/pulumi/examples pulumi-examplesgit -C pulumi-examples sparse-checkout set aws-py-stepfunctionscd pulumi-examples/aws-py-stepfunctionsA basic example that demonstrates using AWS Step Functions with a Lambda function, written in Python.
# Create and configure a new stackpulumi stack init stepfunctions-devpulumi config set aws:region us-east-2
# Preview and run the deploymentpulumi up
# Start execution using the AWS CLI (or from the console at https://console.aws.amazon.com/states)aws stepfunctions start-execution --state-machine-arn $(pulumi stack output state_machine_arn)
# Remove the app and its stackpulumi destroy && pulumi stack rm -y