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.802.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c112d7c6d12f4bd3fd51ee1c18a6fb270160b23374369e4f93311f79c39bf79 |
|
MD5 | 1e32498c90a555121501bb886522a099 |
|
BLAKE2b-256 | db63ca49caa6f0a5bc745e9d8f2e62b1c4700d342a3086160e6eacb423f87b28 |
Close
Hashes for cdk_lambda_layer_curl-1.0.802-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5aac9a4112d3c72c19cbbcf7a5071902bc2cc468fd2d45dc742d14eb9e2e7ea |
|
MD5 | 5cb88dd04234f2c3a20eeb507953b3e1 |
|
BLAKE2b-256 | c1753a61649d196ffeb3d1da6b4529b73053a95ff2211277706d5fe0072cc860 |