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.506.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9c854caa7057e00160260cb5a4af8196a68919762f642a419d55efeff47ec7f |
|
MD5 | eb39dba173c5c195ca63c780a6cdd174 |
|
BLAKE2b-256 | 6457268156383da1eda93b24c1d92683c6aeeb66edd50dc44f5cad430b820a40 |
Close
Hashes for cdk_lambda_layer_curl-1.0.506-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 229973e4ea98c6e11fd9eb77f6bf9802699cd65e9f003abcccf6c71faeaf028e |
|
MD5 | 0a0e9eaf062bc557f1b8ffc1b0ec3572 |
|
BLAKE2b-256 | 868b0653a7962256a172daf31a6cfd87d5d55a707bf9488e22b5cd67d6625046 |