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.114.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d36283ec3712f7fbd11f391e0f65e98f043a985bd31d0dba595affe8315522bf |
|
MD5 | 5e026fd7bf8b5360ce0d9293289bc0e9 |
|
BLAKE2b-256 | bd9ed704f7e266a5ab6b5c1881afa51faae4cf8b917647065111c3c9a4f21718 |
Close
Hashes for cdk_lambda_layer_curl-1.0.114-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1b967a5ca734388c9e6d31a8768c205aba57d4c763c4e5690b0eb7b5ba31e41 |
|
MD5 | e4835bd5f2dbef701280bce0bc942182 |
|
BLAKE2b-256 | c3a642e20312bed052fe9ef1cc299bad3827363b13a52d96aad6eca27347e2b0 |