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.484.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c3d1d24f01497205369e9ebd84080400b9bd02bd9795f526c686c4e5d963df4 |
|
MD5 | 49936b057def22ca72b83a2c91764471 |
|
BLAKE2b-256 | fbccda5e84d822233b6b595dbe6e190752733fd28b2a2f0002af6941a5127bee |
Close
Hashes for cdk_lambda_layer_curl-1.0.484-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6604f69e9df9f266706603c3688ae92ac9f7ed1f10ff6ab738a3ac5370da9aba |
|
MD5 | 1e49e39366deed9b2f9c43cc488069f9 |
|
BLAKE2b-256 | 75d5a987aad90869675d8e54af1c18ebae3b56bf35c5afc3fb66b53e236de10f |