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-2.0.393.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47be505571dfbeb0cd5544d7ab4cb55c993546080349cc1929d95f4c4203cb00 |
|
MD5 | 9dcf8a6ed20743a16481450812a583f2 |
|
BLAKE2b-256 | 79d6ac1a4b06833fc60bb05c625632efd6bb566e3751011946ded51e17af783b |
Close
Hashes for cdk_lambda_layer_curl-2.0.393-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f972ecdd892402c9ae82a9bffbe0a433f4fd597d480bd1e6f95b613a0faa5d2 |
|
MD5 | 4bea6518984bff3d6c63f13362683d9d |
|
BLAKE2b-256 | 41572f5e911b0b3e86c27cc5985309b9cca2f3822df9110b01f32798dcb3eba2 |