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.132.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2866994d7c2c36455fd2bfe0bd16a1de99642fc7edbfb689088a222f88ec0fcb |
|
MD5 | 1f4736c36db749ced47450d3f296439a |
|
BLAKE2b-256 | c1c82382dc6e012a5b552eae5064366d3bd8989e1b6fc8909a76c0b64b28e89b |
Close
Hashes for cdk_lambda_layer_curl-1.0.132-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1a34c9ca2935197c49dd722f3b4e5208ae3b855c28ed51137cdabe7818c8e66 |
|
MD5 | 5c6e1627b958fd0fc699f1fc6b8057b0 |
|
BLAKE2b-256 | cbf2bb64ff695d29066e2a519e4104c8af93e06e3bff02b7546ce77fe7a113f6 |