Skip to main content

Pulumi ComponentResource for create Lambda@Edge

Project description

pulumi-aws-lambdaedge

Pulumi ComponentResource for create Lambda@Edge

How to install

pip install --upgrade pip
pip install wheel
pip install pulumi-aws-lambdaedge
# or
pip install git+git://github.com/jetbrains-infra/pulumi-aws-lambdaedge@<tag or branch>

How to use

import pulumi
from pulumi_aws import Provider
from pulumi_aws_lambdaedge import LambdaEdge

us_provider = Provider('us-east-1-provider', region='us-east-1')

l = LambdaEdge('my-lambda',
               stack=pulumi.get_stack(),
               issue='sre-123',
               runtime='nodejs12.x',
               handler='index.handler',
               lambda_archive=pulumi.asset.FileArchive('./lambda'),
               memory_size_mb=128,
               timeout=5,
               opts=pulumi.ResourceOptions(provider=us_provider))

pulumi.export('lambda-arn', l.lambda_edge.arn)

Project details


Download files

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

Files for pulumi-aws-lambdaedge, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size pulumi_aws_lambdaedge-0.1.0-py3-none-any.whl (4.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pulumi-aws-lambdaedge-0.1.0.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page