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.305.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1be9c9bbccf7076a137ec2bda65245b0df50287901fb25555b36e3b4a738d6f2 |
|
MD5 | 1d31a1768b8907fb1248e6b88725cb7c |
|
BLAKE2b-256 | 1b1360cb1fc3f14ec22abe7456cae292b398366fda24a0eb4e27f13d53914ab4 |
Close
Hashes for cdk_lambda_layer_curl-2.0.305-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f4f3041dcb7901ad2f06064dfbd788abfed72fc1b6658bfcef39cd0c59b22eb |
|
MD5 | 25b45fe719c4b28fe56c14fab9e4397c |
|
BLAKE2b-256 | 14c5328333417220643229c946c02b1d27e3d7f7b75732ad5353a8c16024f65d |