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.160.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 314d8f0d04b664ee426f9aa046eed60e2f18ec22ccee3e02212a4f4df0eb5694 |
|
MD5 | 7a1cac1783cc72ddb65cfd8094fc9de3 |
|
BLAKE2b-256 | 2888f2d9124b47d654b88608024baa2da0ce26ab5333c2ff2db28e06cc616942 |
Close
Hashes for cdk_lambda_layer_curl-2.0.160-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4dfc5594421bfd0c4df41123f0afb39ed62c743374bda55867af6d7fc8a2f6f |
|
MD5 | 1ebd8cfbeb527efe99d8fb541653e954 |
|
BLAKE2b-256 | 2cdd2d46afff41e5efe4effa65335f297420c23aca31234a75088ec7235e0c04 |