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.514.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2870a621f3345ddeb1edd17af731cec774e538fbd7024ade7553f67b0a175a5f |
|
MD5 | 9800b7560b1be23a540dc3e8cf245783 |
|
BLAKE2b-256 | 794d11e35cc4791c621708d311fbf39b28807971c9b12f1de24a31a665e90a33 |
Close
Hashes for cdk_lambda_layer_curl-1.0.514-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0afe5f31fe70e8f58452ca4f25b5a56c475d265e4d72f1b68be237d1e71d8e3 |
|
MD5 | 4960901a413eb31cfe8180ad9ba3c95c |
|
BLAKE2b-256 | 0edfc4415b3892526fe7e3bcd2551f7809bb56ddefab75ecb3a6af5b6532fde5 |