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.150.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e833da3363479bb0d8a31551108ced0d637c621b1c47b894e618687390f89cad |
|
MD5 | 66efc97c1e41ede3762a114115d09830 |
|
BLAKE2b-256 | a18dcdc61016b7174e1f22dc2a1fa8a1ef43f3411a436354c1eb234ad7c564fa |
Close
Hashes for cdk_lambda_layer_curl-1.0.150-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fed7d4d194f7bc20cb2b0bacb5d852a00369b00742753920d795805ec24c32ab |
|
MD5 | 2d147fa2651d97b2ff8eba84984b68d2 |
|
BLAKE2b-256 | 900184d0cf915335eefeb48f0915736bf77592618fe113b334b571fb2db1451d |