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.714.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ffbe2e833f1e39fb6bfb0b6236de767e480dac462b98aaa750e45820a9e0596 |
|
MD5 | b83f34ecf33d79075a3bdc43d08550e7 |
|
BLAKE2b-256 | 290aec5cff0192d976713164d3126d23ca26636856ece05f3e67bffc97d70dc7 |
Close
Hashes for cdk_lambda_layer_curl-2.0.714-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4650ff3bd2376c1bd1a918bf6658587ce305a5fa83f7edbcdc8bbaff0f972ab8 |
|
MD5 | 74e407f34b870481b00fe58a92af4177 |
|
BLAKE2b-256 | ff0fb7fc0666dfee557b2d03ea5539f71cd3bd05e2ac7aec166f9eadc5c6efdb |