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.114.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72a0cb17c750e8dd0d213b82f49b545c3d53b1a79af97d472c6aef66ad918891 |
|
MD5 | a80293d82bf212d65d4f12139d423695 |
|
BLAKE2b-256 | 4d84f66e08139eb2a12b7fad86928d054e616723cb66d8641556581be23d341e |
Close
Hashes for cdk_lambda_layer_curl-2.0.114-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a144bf4d4494ebb8fe5c47bee9c545eefa10ebdc369bf50bf59f9c405de1e428 |
|
MD5 | e8e994376949eb3bd1e316f0f7dbe08a |
|
BLAKE2b-256 | f1a4804b59c5b4cb6906e449253e914aed637df5b93b967acdd84e3bd85225cd |