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.394.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e24efdb8bff9f079aa8c2cb71e8871aec1e06ee47d35bd19d0f8c293453804d4 |
|
MD5 | 890c79802c8b33538f285ed58a83df2c |
|
BLAKE2b-256 | 1540f8ca439dcc102b55bad706c4731d538614bfdfbf1325cf89cbed5ed56bda |
Close
Hashes for cdk_lambda_layer_curl-2.0.394-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1f63007bad97e9c28d4a0de270ba13d4fc9ed8ebdeeffb9e224eba3b2f8441a |
|
MD5 | c42b93ad3494f00f37558371546ec859 |
|
BLAKE2b-256 | 2e92817a6d2e979460aafa9ab316f3e0b36a591a729bf043c95d68d33acbf8c2 |