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.357.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54de1026dc8f30c1193a9b118f29e07caddfbaaf5cd249557dc215aa5703423a |
|
MD5 | 3c015b73d284da9575b96bd7284ab439 |
|
BLAKE2b-256 | c8c46dc47b1457fb1c762d53863daf407994ecf3cbfd82774847c2ff0c1b8ccc |
Close
Hashes for cdk_lambda_layer_curl-1.0.357-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61539f1cd1706fd6bb35cdb1873d137aae291cb894db81ffecfd39a22e863c9d |
|
MD5 | 432661b7eea88d1bb8770533182198b2 |
|
BLAKE2b-256 | 5aa8b2235565b184db4c0dcb8588aa4bd8903fc52ce7662325e4c02b6cf2edc5 |