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
File details
Details for the file scotthsieh_projen_statemachine-0.1.18.tar.gz
.
File metadata
- Download URL: scotthsieh_projen_statemachine-0.1.18.tar.gz
- Upload date:
- Size: 33.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b389d7451cc5742175b02400e2a630808196040f7600d1d31ccc5490fa57d4ec |
|
MD5 | ab596986e0d9c01636bdcdb3afffb315 |
|
BLAKE2b-256 | 06a6ade09a8cd16ae50fe78192f1237384f688dbd5d84ee9ae403738d107a7cc |
File details
Details for the file scotthsieh_projen_statemachine-0.1.18-py3-none-any.whl
.
File metadata
- Download URL: scotthsieh_projen_statemachine-0.1.18-py3-none-any.whl
- Upload date:
- Size: 32.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 672560b12d8c51760ea24f1ad508dc2c7c17019c5c5da3c44578143ea03e2960 |
|
MD5 | 89fb08a0ef4451a02d26b94a4a1b1743 |
|
BLAKE2b-256 | e0de2ebac7028d8ecc279ac9ae0fdfe43ee999c66166c5ca37ebb44662ee9cb3 |