Skip to main content

AWS CDK extension for aws-cdk.aws-lambda

Project description

from aws_cdk import aws_lambda as lambda_
from aws_cdk.zip_asset_code import ZipAssetCode

lambda_.Function(stack, 'ExampleLambdaFunction',
                 code=ZipAssetCode('example-lambda/'),
                 handler='handler.handler',
                 runtime=lambda_.Runtime.PYTHON_3_8)

(snippet from example-cdk-lambda.py)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aws-cdk.zip-asset-code-1.0.1.tar.gz (2.5 kB view hashes)

Uploaded Source

Built Distribution

aws_cdk.zip_asset_code-1.0.1-py3-none-any.whl (18.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page