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.702.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c61f7b1b1ab703983c1274fdece66b2e712aacd226222fbd69f89043b6d6908 |
|
MD5 | b27bc6ee8df437618647d278f2481cc3 |
|
BLAKE2b-256 | 97f6081170ba1cc6847498accb7ee8240011182c58c5e71eeff0703a6d222023 |
Close
Hashes for cdk_lambda_layer_curl-2.0.702-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c198b63e7ab4bf276382dc9ba111d7d6da07683eaf681ed19400ad331ba166e |
|
MD5 | 62863a95c83d91f7e6f8c40090952320 |
|
BLAKE2b-256 | 9f35c436646c60666eb65e2d87bfb550096072d29ee051eef7834fae7b00e88b |