Deploy Lambda container image with Bash script support in AWS CDK
Project description
cdk-lambda-bash
Deploy Lambda container image with Bash script support in AWS CDK
Sample
# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
app = cdk.App()
stack = cdk.Stack(app, "my-stack")
# bundle your Lambda function to execute the local demo.sh in container
fn = BashExecFunction(stack, "Demo",
script=path.join(__dirname, "../demo.sh")
)
# run it as custom resource on deployment
fn.run()
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
cdk-lambda-bash-0.0.2.tar.gz
(3.7 MB
view hashes)
Built Distribution
Close
Hashes for cdk_lambda_bash-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1794bed017e7a0054bf3605e7ab93405d25222a91abdd983d39ecdfd359b3340 |
|
MD5 | ba4510067cfa9541fb72bbb1e6c85867 |
|
BLAKE2b-256 | faac4faaa8facd74ff268201f552145962ac2f1b28dd946a0249a148d5d79f04 |