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.285.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c04c64bcf9546f5bb6eff95a06e23d7048cf8f89ec836acef31dbc7f4bb24cfa |
|
MD5 | 0fdd5b6b59eec3bc814eab8e5c05be1a |
|
BLAKE2b-256 | febbe0aee882eb8c55cb75cecb324b1d2e9eaed2b99b0ca49a2d2ff51cdcc2d4 |
Close
Hashes for cdk_lambda_layer_curl-2.0.285-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f89427a1547d1a5264d3ad46fab8050f958a0b4f5c0e733ce84dd32e2a8ed87a |
|
MD5 | d45907eb9d9e90925e90572eef958aef |
|
BLAKE2b-256 | 91a8b21938038b5c13e8e9925b12e296e95a0484908b7afe0b8e690521345575 |