For lambda layer use curl
Project description
AWS Lambda Layer with curl
Usage:
// CurlLayer bundles the curl in a lambda layer
import { CurlLayer } from 'cdk-lambda-layer-curl';
declare const fn: lambda.Function;
fn.addLayers(new CurlLayer(this, 'CurlLayer'));
import { CurlLayer } from 'cdk-lambda-layer-curl'
import * as lambda from 'aws-cdk-lib/aws-lambda'
new lambda.Function(this, 'MyLambda', {
code: lambda.Code.fromAsset(path.join(__dirname, 'my-lambda-handler')),
handler: 'index.main',
runtime: lambda.Runtime.PYTHON_3_9,
layers: [new CurlLayer(this, 'CurlLayer')]
});
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 cdk-lambda-layer-curl-1.0.354.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39ea35d761012deb6e442bbe3f33f638b1583a18fdc7a7da60113e6b79569e62 |
|
MD5 | a9780dec766205053bfbd9d7a3106b01 |
|
BLAKE2b-256 | 78873ddf8f1269165caaa74818783d2f890e43ab6c2629f627bf6ef847b94e9c |
Close
Hashes for cdk_lambda_layer_curl-1.0.354-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8421cf84604d66812d8ddf96f1e45e75817c84c47a9d13e6efb1a1f71c4e168e |
|
MD5 | bcf1fff7772086aef9fc4a0859b5f544 |
|
BLAKE2b-256 | 23bf0b5d3ae75d663224d8bd99ef63be0562e20f648e7767e71272b9f52b63d8 |