
An AWS Step Functions workflow runs a multi-statement SQL transaction on Amazon Aurora Serverless v2 through the Amazon RDS Data API and rolls it back on failure.
RollbackTransaction and ends the execution in a Fail state, so none of the statements stay visible in the Amazon Aurora Serverless v2 database. No AWS Lambda function is in the request path.git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/sfn-aurora-data-api/typescript/cdknpm installnpm run buildnpx cdk bootstrapnpx cdk deploynpx cdk destroy