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.598.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba6e73bc268112d0cf5bd76ed1e73d78375f417ed24d939edc254a66ee222925 |
|
MD5 | fcf62fb5f18f4ab49a957b136dc6ad6b |
|
BLAKE2b-256 | 044494edb8960c1ac3fbc7ef691db5f4bc71bd69becbbfc458ade5c0f694154a |
Close
Hashes for cdk_lambda_layer_curl-1.0.598-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95f559018c6e09dd4366204d6d362840aaee947771c421222354e8ce46c42679 |
|
MD5 | d7c3203607937bff7dbb81a2038533b2 |
|
BLAKE2b-256 | d916217d3076e3eea1cbae67c8a5ed4061e865ca8ef4ed95b7fbc272b50edd49 |