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.333.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f09ddade996f84c57cf2f314206fc3c30cb0ee3f74bb2ea55c0b71314db1a8ed |
|
MD5 | b51b3d914b934bb4f8ebb780afb3c5ca |
|
BLAKE2b-256 | ccfdf2f657d2cab4aa420e4c87d8f856d05b64136da80e2e4882c51f2bd70d1b |
Close
Hashes for cdk_lambda_layer_curl-1.0.333-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7de286fd0c488fe8fbd2914e1c401e7e60fb9bb3cb97469ff859ff05ca696984 |
|
MD5 | 81ad9cb799ae931bbeca334aaf7f1a27 |
|
BLAKE2b-256 | f59dc017c6f873d15fcc4ac4860c0add86672eca876efc50072d36eabca8598e |