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.736.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7eacbbc4d31ffc57a4a201930d427d7baf04fb6389ebbd2761276110674fc537 |
|
MD5 | 0be4ec6d162f51c52ab8a58be344a2d1 |
|
BLAKE2b-256 | d1de8e4c2932374fdc79b77bc84bbef7b1aabdfab80dfa29d518999937bac220 |
Close
Hashes for cdk_lambda_layer_curl-1.0.736-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d44c5ff66b47335b3117d901e30d02dcae8d8ecd07db58e402ff2941a31057bc |
|
MD5 | d7b6cf5bf718c3909b5f505aad31c9d4 |
|
BLAKE2b-256 | 8591aba1e7807924a5b544f8b093f8a5ba178a762b4fa33c387d71f100773063 |