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.617.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6977e6e2a9d15ee772bc7006e443a9c582f40d5fc396c2986d953ffba9ff8c50 |
|
MD5 | 047adb2477776cc2097a814f45dce9bd |
|
BLAKE2b-256 | a2343c9f5144073c7e5871d30f055c8afa492196c80d315ee864c1abeffb8f26 |
Close
Hashes for cdk_lambda_layer_curl-2.0.617-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73c9d040269ab3744337e16956e2f13c1a196484f2af500c18b563d346460734 |
|
MD5 | 10d8c4a3aaf3ce31a780c5568345db3e |
|
BLAKE2b-256 | ae7625a827cead864a6a217af66704177ee78d51e0b5fb562b89c8be39c9575a |