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.43.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2af7d8ddccf77b0afb30da5169fad4eb5e4d24678723dfe09a963b16e0c7ca10 |
|
MD5 | 8b38bc9d4c42e4b32f4f14a5c9606784 |
|
BLAKE2b-256 | d61f8ff353dc6eb8bd92ad5efcbdb4104d8f53623e936acc1d5712e2dda5f2a8 |
Close
Hashes for cdk_lambda_layer_curl-1.0.43-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78b17bfe4e80b51d5e747177d359c2257cc4b5717cfe65be3f2060f901061bbe |
|
MD5 | 00750d2e4a73d4a5b0db40be35c0c8f0 |
|
BLAKE2b-256 | 54d4d77682deea577cec623e1c25fc6acb0a46bcee583fd1db9f2bb69a2df9fd |