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.437.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 863e1a74fb60287142543eb14163c2991036493ae5ae3c2f04f2c6e8b64257f7 |
|
MD5 | 9963892f0e100ebcd737a0e4e596e2f8 |
|
BLAKE2b-256 | e54c25eb26681c932109908404a9693131f353d34557695db9e7ca76960f2af7 |
Close
Hashes for cdk_lambda_layer_curl-2.0.437-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4194a9b482bde447defea2d9fde4f90ca3387f462c6d7e3673487cde545314f8 |
|
MD5 | 61d94d307019fb74b0d29106d0ec22a1 |
|
BLAKE2b-256 | 59ccc6b0f2785b5f24f37570f90c75a0ac5e747b388b59be9005579e650a38c6 |