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.545.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1e4e1e4db59a2143f061976447069fa98c342c17896ddcb7f7772ea051406eb |
|
MD5 | e39d4a8ae7e4d59223aa9a920373f996 |
|
BLAKE2b-256 | 3038e6de841d0f312f0b7e3166f6c8f7912826122397deb604194dab28cfa6c7 |
Close
Hashes for cdk_lambda_layer_curl-2.0.545-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 189b8e84d6343ac432088a90d08c8e99d45fa3ddfa04c2569c0bdafe70aaf2f6 |
|
MD5 | 447783ae9f4d6cde5c7216db2838aa5b |
|
BLAKE2b-256 | d5600ee6833b08767077cecb640d2dc2438c18950ba0f93ba7f021bcb45bc0d1 |