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.574.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 154a450abb279db3e8b7fed30bc37c27b18e03c6fb626d68120a25da9f604baa |
|
MD5 | 8d170c42c48180469374b66cb6100d0f |
|
BLAKE2b-256 | 295796dec7697ee3420f0a49b7ce54f181a9ee6b783d08ba7c2820df2e775441 |
Close
Hashes for cdk_lambda_layer_curl-1.0.574-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a51e0dee0af705a0153be0bc751c98f663bec0370c8ed29376993c80c1b5165d |
|
MD5 | d44af5555ade8ffc822b4f6ae7d9aeab |
|
BLAKE2b-256 | 1d8f90f5eddff69933e4645d20eef511b773abdbc457678ab71ef626177513d6 |