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.311.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6d95ecb572b89c001df567ba94d1fc599ec588ba5c0e41546a84f25ef91232b |
|
MD5 | 2acfceb49e74e68e525dbc8c7be3f095 |
|
BLAKE2b-256 | 27ddb9a866116ee732d05f56dfdcc8b791e2cf97c3397c720524ce71b668e963 |
Close
Hashes for cdk_lambda_layer_curl-1.0.311-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c61c86ac6d745b2e57d7533a7a7366555aeb1ac34c348ccd276c9009c993552d |
|
MD5 | f7b7b61b0dff84fb882a698c2980ad12 |
|
BLAKE2b-256 | bdce86f1201f99ee38f1c645d6ce1c84e002d8202632145dc5e965f514eb7e99 |