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.278.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 424811283d24d92e4e0cd1e403eff8ceec909438a347c09bfc3d36cbbcf14cb8 |
|
MD5 | 9bfe278b1cbe4ad827ed208b3e70f7bf |
|
BLAKE2b-256 | f68ae5d9ae41984667e1dd6db8cf27cb795076eb06ab6caf77a5545eb86e8158 |
Close
Hashes for cdk_lambda_layer_curl-2.0.278-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8983748621a30ae2a11b64210c9d903472bc8c30398c17df3e069fbb16c468b |
|
MD5 | 7f6b1090a09898ae7461d2b5b64e4e19 |
|
BLAKE2b-256 | 01dd7b533b0433722bc5ddd57cf97eb43a02f670e077fbe3cc7525081317ec30 |