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.731.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c36ebdb1c44a0ac3c6d06cf5b61545da22264399b9381dd153d56fa0c757216 |
|
MD5 | 8ae2932b6d6cc4540881f8df31166950 |
|
BLAKE2b-256 | c3994157c1f38d82bc157edaa5931daaa80174d8f402407614fcc270833aac97 |
Close
Hashes for cdk_lambda_layer_curl-2.0.731-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 571b949065a67f509f30d14c22d4651e64542bcfdb79c1d01d2baa2970253b63 |
|
MD5 | 969321fbda55bffaefd301d881183d82 |
|
BLAKE2b-256 | df3c199db5f2a2edeecf1b63e6b0b2e81a60f5510d99868a558dde40fb5c99eb |