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.380.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bbebc3798c91b410a4d6725d4ef23f256b249643de9dd834fc14df29e64d075 |
|
MD5 | c00642b22cd1a6d95f4a1de4e40cdcf2 |
|
BLAKE2b-256 | 38a723d436b19831f980a1da4b4029ec6cb536c7c2aeaa692826a5cfa75becf0 |
Close
Hashes for cdk_lambda_layer_curl-1.0.380-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07a40bf53099a529d90d92404b32aa9def9d5e9c92cfc6e6241b76e5740f4632 |
|
MD5 | eaf936f1bb10505f904fdc80692d77e7 |
|
BLAKE2b-256 | 3308d1924d5aadd489af0f33c6e49e9c11f8bb4a1be241c850d2a38ad7503b49 |