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.769.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 588d743e040eef9ec92eedb77b0a6ab6283d351e059ebd99b28653e599ebc8e6 |
|
MD5 | a36d03f34abf38afdf8650c6a4e73c63 |
|
BLAKE2b-256 | 64c180b50a4ae7207b0cb8349982e7191b05068d1cc43d3f56bd7163449dca00 |
Close
Hashes for cdk_lambda_layer_curl-2.0.769-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e7a5f9d38b61cf5fec11353081e94a56dd4303a41f09139f43dab2eac6b8c5a |
|
MD5 | 3fecb33ecf1b5fb580e6d55154cb0e86 |
|
BLAKE2b-256 | e1966fe23bb98acc94cde4f57d647e2d9109c59969b4c3adc86743e0babb272c |