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.642.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b6c40e100f022aff63791bff57a12dccb3ec2b7b606288dba6e72ee4cf735a6 |
|
MD5 | ab1022187981d3611d836626dc5187d0 |
|
BLAKE2b-256 | d5dc141a2fbbc62b46df1bff79eff8936330afde31ebb5beb473a6e1182e4f81 |
Close
Hashes for cdk_lambda_layer_curl-2.0.642-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cc4b73d220d746c8b762da573a81f876b4c9a808752a4aaf11bfdb63a194349 |
|
MD5 | 928097ace4c465c23af33d14a56d0c5f |
|
BLAKE2b-256 | b2aa766da5ccb47b5fc5154649daf6af706a213f0330004cd46a301be74dfb6b |