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.275.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5571b3d0453d1c88dee24304b1a081f155205db85ce50387c719b2755b9527f2 |
|
MD5 | 0d5031c98c655235b3d4fa7f4edecbbb |
|
BLAKE2b-256 | dbca30a777db589326f72a3c0d4fa12eb5743acd73e8ca8c8bd460d0134f5950 |
Close
Hashes for cdk_lambda_layer_curl-1.0.275-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4d8bcd1a5fc493fbcd6276cd6b5aef88eb801af3467210031c311cbf6e69682 |
|
MD5 | b5d0acaec21db6ef0bdb30f146bfd386 |
|
BLAKE2b-256 | 253f92ecb3eeb44f7927cd76d52c3641ef6d0ff06c83d0f973d14a22c7e6ae7f |