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.82.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1c5b1ade77198f1ec35a51660090e0cace960e2ccf6ad38bf46ea34ec25eb0e |
|
MD5 | 5ecaa99c6af746721d54742e20cdaeaa |
|
BLAKE2b-256 | 976b7b1171796da731d2904722e821f9f4a9e70ce9cebacd86c81079da1c5023 |
Close
Hashes for cdk_lambda_layer_curl-1.0.82-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59b82bbf18c2a693e1b2ae26d905f4a558910864826fc3d9e76fec7fb579e0bc |
|
MD5 | 4153d781f87193b70dc620bc421b0592 |
|
BLAKE2b-256 | d7bec4c961f6bf1e81085de2ff3aecf5e2cf6417fbce42768ea398906bae319b |