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.570.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a13dfa46e8b9f8103142b42c68d37039a56d341bc3be6bc9464fcc87295f7aff |
|
MD5 | 4f9ef8eec7099d4e2234c03ab41d32d8 |
|
BLAKE2b-256 | 409a2b001e642b06ac870e16b9286bf3a1d79eb6c715d85707c69f8f3c241ed8 |
Close
Hashes for cdk_lambda_layer_curl-1.0.570-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cf6a56503624b84663335da2e76e16e70a427267f7989efade7eadc1da02468 |
|
MD5 | b3f2b647c9c8a1b7a2ef8b51717d30e8 |
|
BLAKE2b-256 | 631f498d4225076bbb5fbc36850435c50ec4407f2fce10d734026e0e65dcfd79 |