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.50.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05bb8430c6342effe5ff37d685724dfa35f9508380c0b015eef05129e934bd23 |
|
MD5 | 2655e5b5a8f32d1a4ffc5017a6daa17c |
|
BLAKE2b-256 | e33fc157f0bad85fd6448d212a4b023d3d89aa9ac861264e7f3e9e58408021d2 |
Close
Hashes for cdk_lambda_layer_curl-1.0.50-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 571c2c3f73f75b00d4c942099fdb86e7a5a1bf77cb4b2a6a0a419af3dd02cc10 |
|
MD5 | fd574877ed89517b70fe86e04840c285 |
|
BLAKE2b-256 | 0753d3f4630fc8037f8f567eb9eef9156f2e8af4359f4e617c219d27f9844b03 |