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.701.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c45e8cf7ae1a9155fe53664831d1c136c70713458a3b757832d3319ad7608400 |
|
MD5 | c928d33e83af2a61415ce8888aa94bc3 |
|
BLAKE2b-256 | 686515abb08b42f88b97ff15ef3b3628b06b96b55ada7a15b298ff3683d577ca |
Close
Hashes for cdk_lambda_layer_curl-1.0.701-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70fe93313fdb2ffb0a0d40b3dd474d02f1b91a4b5a2bf7117e7996bc2e207ffa |
|
MD5 | c6b233a955509f217773ef024be1302f |
|
BLAKE2b-256 | 04242461d55321bc9145c3be86177225eeb9cbbe1c606861b7952163fea525ab |