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.122.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b67770d73fead3d5b1ac4639d0258c4a7150d27a346a9c6ff7487db94d1cd959 |
|
MD5 | a98a14f2f5d1dc93e42402b7a4db2f16 |
|
BLAKE2b-256 | 4f5b896ffbddcc6d8ce130546a39d3ceb4464bdd12840324bec6b441a38d1636 |
Close
Hashes for cdk_lambda_layer_curl-1.0.122-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2836b27860703ba87d048debd4df55701407d1799c48bcfd236fc866b82c84c9 |
|
MD5 | 5c2f34fa06c5ad301ffbd9954a239fb4 |
|
BLAKE2b-256 | f65c4299bd136064fafdc19322478ed160aad9f68f529b85590e84ac0d9106b3 |