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.546.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38a0b8d1906c71c2c0163bdc1dde222d23faf0dc9799ee15ece6644384069b3b |
|
MD5 | 84125c2b202d1daa171587d29d7d3e14 |
|
BLAKE2b-256 | 98f4c8bf4f817f3d6e31765a351ea8bb94965801f7d1fc6bfb25e15cdfebd40e |
Close
Hashes for cdk_lambda_layer_curl-2.0.546-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e4cae83e61b415e956f4350df7febbd43fa85466460e6a8d5a6a6678d6947ee |
|
MD5 | e2c1e1b3220d9df418e507779b7bfe27 |
|
BLAKE2b-256 | c571585ca6c43c08f901614fc6acb8cdb49fb9628bff190be91c851dc3860cab |