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.462.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b15faafc8ddd52234490177f3aac118213ef1c858815a562ddceef5e2ee4b056 |
|
MD5 | accd3e3b3663b8ba49caadb152a8a4d6 |
|
BLAKE2b-256 | 6cb12d22d4f6bacc69a192921f242539b809ef07011bf737e21d6384eb7cd0a4 |
Close
Hashes for cdk_lambda_layer_curl-2.0.462-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b6d6cf86ab7bb047070bbac52940e1cf5840754efe0bf9034eebd52700acb6c |
|
MD5 | 2d0e4232f355053022bc3b2cd54d5a76 |
|
BLAKE2b-256 | e5e4ce1ca2da9dfecda3334f31ecb5b7f2ce654bbe4bae2ad013ef0295b17c7e |