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.202.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09611fb910bfd304e0a200234c2602253e9d42f587e61e063e15f7abcc740242 |
|
MD5 | 49eabe19c067c52a6e297ac73531689b |
|
BLAKE2b-256 | c507167dcab919124b39c2d78c4a0858499c6b76920c8afedafc942fae011ae5 |
Close
Hashes for cdk_lambda_layer_curl-1.0.202-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9112c1ec90872c589a6d6967874dbe56a648da5cf0969c5c4012935b1240dbd2 |
|
MD5 | 460abe04ade3688f5e5b49ce2e2aa712 |
|
BLAKE2b-256 | a118074686dfaf72e709afad540861dc494e4a2fb8b95c13e62cbbd80235f2e4 |