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.91.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e45a601fe05a16dfa972db6ff3381b30beebec82bdc956afe71d0453ea87eba |
|
MD5 | da476d8fdf64a95bd12118dc3e628059 |
|
BLAKE2b-256 | 4a379d3d769db7b95f7cf6b377454e9fbce5fede9c9794d56849b1fd3821e399 |
Close
Hashes for cdk_lambda_layer_curl-1.0.91-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fa0afe95ebff2dacbd4e9c3415cdcab8246edcb73a0b02fe78ab0fdb8008805 |
|
MD5 | 22a9db0fab2ee8b83e082323d2c4cbc6 |
|
BLAKE2b-256 | a299d15a860c7ac6f705f2152c847fd428266779e57adaf9fc34b23b9e5c8f19 |