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.105.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 142cffac255051fdd08555330656eb3be5e09327903359d8f644369d54d3200b |
|
MD5 | 3d52ad33031e15a9795e5634c0a23880 |
|
BLAKE2b-256 | 336a67be579708a89eedc0f12c3da665e2b98f841aab3a85e7d5cd484c31937d |
Close
Hashes for cdk_lambda_layer_curl-1.0.105-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44aeee974d0d44c8c388f67a88b8d47292684617d8c1af61170081fb7a35358b |
|
MD5 | 4862e453dd875b3eb595bc8023dfbbd4 |
|
BLAKE2b-256 | 8c5805dfec1f93408fe0695bedb540c7c2aeea577ca8494663abe13bdaaf1f81 |