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.149.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3009449e901c38572149860e7e2899aca76c766d170861e923d9cc3496e6303e |
|
MD5 | 93db645f579655fbef59dcd9c1cb9f7c |
|
BLAKE2b-256 | e2a84313936a49952036bd50c3b6617abfb794994af879824b2784dd009fd9ed |
Close
Hashes for cdk_lambda_layer_curl-2.0.149-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02e9a32dbc39197fbe65924a563f703cff8539ac45e4d6013ee244812084cbdd |
|
MD5 | d2d23b1ffc01984823ec0970fe5095db |
|
BLAKE2b-256 | 855d60969daa3a6643b40931aa4f4c13b1611d4f9d4f44e17d4901fcc568d3d3 |