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.350.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8ab7e2117816a8a3bdc01539e83673be0c2d643c4eb20cc3374176cd043df36 |
|
MD5 | c0709ae0f8f52e08287a3fec26e720da |
|
BLAKE2b-256 | 7d915ca0c999c58aaaf75003fb3ed5c785dc0708c202169bfbd2194b33612cd6 |
Close
Hashes for cdk_lambda_layer_curl-2.0.350-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c90c20d05804ee62bb96493d879584b93b0336f05cc6145995a5546ab90c8de |
|
MD5 | b16a7922ae1851944fd48f978ab1f361 |
|
BLAKE2b-256 | 020a9d8c1d737e977b9049e841e4981375f10ed54b3ac044c60890a845d8acbd |