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.38.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6e3c4a98cccdceafa2ddcfab40c8f62e9356138960933692a69cf171d7e64a9 |
|
MD5 | cea35a0281c13d666171b87870e6479e |
|
BLAKE2b-256 | b56963738f43404f8371341645f7bed5d109936a69e0b943eb3f6546ca7af845 |
Close
Hashes for cdk_lambda_layer_curl-2.0.38-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4c5efd1e0e2e6924666c7a1878c8bcb6a754c12b7cfd3290d6567be52a7b480 |
|
MD5 | 13784ba30eb4df7978453e1d74ae930f |
|
BLAKE2b-256 | 2d742aa17ca9b257b3b24e03a944dd5e30626317a6f28cbbcd1572a3fc39127b |