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.372.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e568107b48954c0faf9f9ead4080f4a2ccaf2e4d3f90ab98b4b66c67a70dd33 |
|
MD5 | e92bdf6aee5efdca26b12f0f10ef8b5d |
|
BLAKE2b-256 | fd3ac296e4fbea85b939e866739f46198fed9bc94ba8ade439969013aefe5ecf |
Close
Hashes for cdk_lambda_layer_curl-1.0.372-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8314b33d3e763e383c22e843bf8ec8055e9d77febf94c868c88ebd339a1c735 |
|
MD5 | 12f2d92638217466294b5f213e70b814 |
|
BLAKE2b-256 | 715f59475fc3055ac1541fce626847284e0ba48940ce69105207ff796886eedb |