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.252.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 274d46114e4dac4a12962160f6f72742bba4a137be8394d1da0bed61e6cfcf41 |
|
MD5 | 340d27c0623cd7cdf517fd09695cf158 |
|
BLAKE2b-256 | 70610bc2492b19f7c8c4e8b5760fe73208ee364aa079e9a4ab2c71e2973221ab |
Close
Hashes for cdk_lambda_layer_curl-1.0.252-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d81280f45483756b98fb1832ce8f5e8bcd9606d0b44609186522bfe35570176 |
|
MD5 | 2b8d36990f19d91a4620e49831abb7da |
|
BLAKE2b-256 | 2e17f4663f3a80b24c7ea7b054d72dced4e871748e637475db3200fa4e2418fd |