projen-statemachine-example
Project description
projen-simple
Build a custom construct based on an AWS Blog post and use projen to publish to 4 language repositories. (Hope Go is coming soon)
Architecture
This library constrcution is referred to this AWS blog.
Demonstration about How to Utilize Polyglot Packages
TypeScript
$ cdk --init language typescript
$ yarn add projen-statemachine-example
# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
from scotthsieh_projen_statemachine import StateMachineApiGatewayExample
class TypescriptStack(cdk.Stack):
def __init__(self, scope, id, props=None):
super().__init__(scope, id, props)
stage_name = "default"
part_path = "pets"
example_construct = StateMachineApiGatewayExample(self, "KerKer",
stage_name=stage_name, part_path=part_path
)
cdk.CfnOutput(self, "OStateMachine",
value=example_construct.state_machine.state_machine_arn
)
cdk.CfnOutput(self, "OExecutionOutput", value=example_construct.execution_input, description="Sample input to StartExecution.")
References
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for scotthsieh_projen_statemachine-0.1.18.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b389d7451cc5742175b02400e2a630808196040f7600d1d31ccc5490fa57d4ec |
|
MD5 | ab596986e0d9c01636bdcdb3afffb315 |
|
BLAKE2b-256 | 06a6ade09a8cd16ae50fe78192f1237384f688dbd5d84ee9ae403738d107a7cc |
Close
Hashes for scotthsieh_projen_statemachine-0.1.18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 672560b12d8c51760ea24f1ad508dc2c7c17019c5c5da3c44578143ea03e2960 |
|
MD5 | 89fb08a0ef4451a02d26b94a4a1b1743 |
|
BLAKE2b-256 | e0de2ebac7028d8ecc279ac9ae0fdfe43ee999c66166c5ca37ebb44662ee9cb3 |