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.386.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bb34e949c865e37b3195a97f6093527f12cf03054c3c039eacaf4312dabec57 |
|
MD5 | aa77ae79c037cdc82364f0e4920f244b |
|
BLAKE2b-256 | 9d86ce7a76dcc85e2e6e44618f5535c7b6c405eca37525a0a19a6b4542518505 |
Close
Hashes for cdk_lambda_layer_curl-1.0.386-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 664fa39e63165bb87e7f8656a50423e91e9de6b593b39cde8c02f9e1a8d5ef3d |
|
MD5 | 14f80d3695c792b8806a1770c1287d30 |
|
BLAKE2b-256 | 219d1def702bf50dfe69a361c9b4a22a293150f91edc602cda308635c1353367 |