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.688.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | be88d854aa256e8cc2405eeddca29373bb302c933754cfe841d0e98003d3620c |
|
MD5 | 7eb57f03e686424bca4209b1c7d228d9 |
|
BLAKE2b-256 | da35f9c8e0f0f65f95f8b06532975ac34a350622908586dbf448565ef0f8a311 |
Close
Hashes for cdk_lambda_layer_curl-2.0.688-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b68bb40828690a6fb924c66b3f978b3f9535bf0a933620023ec378dbf374bec0 |
|
MD5 | 8e7cc265e2ddc788197c9b834d944543 |
|
BLAKE2b-256 | 516180b976a6456bc1f079ab9b69e0ecb9cfbf988f14f72f90a73396bca28e30 |