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.349.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0aed1546d254442b61d3080a481189d74d3a86017eb6e5b5b8c556f216733ef6 |
|
MD5 | 0af01b88fc860d33493a87f2e1694fd9 |
|
BLAKE2b-256 | d42fa2d2d586e7d4fbde1da8bc1c34129f7df602a910fe713832d3ef97fefaff |
Close
Hashes for cdk_lambda_layer_curl-2.0.349-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2074a607f30dcc2e85ab4fb0a4fcfa73d4e42b19c38f6c56da1cda27472315a |
|
MD5 | 308ba544765f266d6e2b95fa0223af80 |
|
BLAKE2b-256 | 5e5f681cd85f5ac8823b04bb11d334ed98c055c78e256f20f80a214335f7ab57 |