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.387.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfb18e38067862486d3af559c28538708700a502afd007d63b6f6db3a20befb9 |
|
MD5 | 54b68c459c7e7fde5277a7ddebfaf2ce |
|
BLAKE2b-256 | 044d1cd1eae1b6db57134498ef159df3df5e0533cf10d671247f0d3f5ebccb22 |
Close
Hashes for cdk_lambda_layer_curl-1.0.387-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd4a7289610eb13995d4eb0c4701939f2a24f45d91453f0c3491de750c9f24e0 |
|
MD5 | 10eea3ccdc0a8da49d6fe76f2e396b54 |
|
BLAKE2b-256 | f3e8b658f1e53a0b016fc702c431daa5c728ecc7f21cba51ad19d43143d3453f |