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.428.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ee1a2130bcef3ed47b06249c0f234a480142833641515d4e7660fd637bf1b81 |
|
MD5 | e3daa07ea0dd630322dc5973361fc25a |
|
BLAKE2b-256 | 3ea8cd4d837644b0bbea8e37b2531d1f628f93467d246ed11cb0b72e7ce8b7ed |
Close
Hashes for cdk_lambda_layer_curl-2.0.428-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2c70d22465935557af5105d69f4a3ca34728e5dba0e7955961bc41f6c337d37 |
|
MD5 | d04b546532a7b90824ceef74cdf786ba |
|
BLAKE2b-256 | 58d8f3ce1a8271974fdd8cbbc0d7171ed3315643b3651157a273f1926f946516 |