Skip to content

Instantly share code, notes, and snippets.

View wong-a's full-sized avatar
:shipit:

Adam Wong wong-a

:shipit:
View GitHub Profile
@wong-a
wong-a / versioning-cdk-example-stack.ts
Last active July 31, 2023 18:25
AWS CDK Step Functions Versions and Aliases Example
import * as cdk from 'aws-cdk-lib';
import { Construct } from 'constructs';
import * as sfn from 'aws-cdk-lib/aws-stepfunctions';
/**
* Example CDK stack demonstrating how to achieve gradual deployments
* for Step Functions using versions and aliases.
*/
export class VersioningCdkExampleStack extends cdk.Stack {
constructor(scope: Construct, id: string, props?: cdk.StackProps) {
@wong-a
wong-a / 0-stepfunctions-python-sdk-choice-demo.ipynb
Last active January 6, 2021 17:57
This Jupyter notebook demonstrates how to use Choice states in the Step Functions Python SDK. Images aren't rendering in the rendered .ipynb but they are attached as files in the order they appear in the notebook. If you open the notebook in Jupyter you will see the SVGs.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.