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.699.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0d7605d9bee813e0743e92c1d68dd0f3a9e94930313a44335faa68c0bdd0a3a |
|
MD5 | 8b93964376aefceb0127c834dd8fb56a |
|
BLAKE2b-256 | 27514b68d1d10a8c909cfe5a2e2c414c08235f0a7eacda5d2c18820dfff7109b |
Close
Hashes for cdk_lambda_layer_curl-2.0.699-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff332f4dd2080de8023acff40f96ff5b3e97535c23bbf90cc875e36837f47675 |
|
MD5 | e8ef70ed40bd619f615030321d4c0bff |
|
BLAKE2b-256 | 65d1aae568c0cee4eb09c2972c0c347ceaf3953f1d2917c8fbba859c81b6465a |