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.771.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 282f550e903b8a2ec5d15102ce9baa7385429962a7269a7f79962a98b2fd7592 |
|
MD5 | 5e70fbcd1784026df50f60d1c59d0e2b |
|
BLAKE2b-256 | a325d64398e413dfc52879ac719ed247cad90fce70d496199851c05dedd74a1e |
Close
Hashes for cdk_lambda_layer_curl-2.0.771-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac735a33a754f7ecbddbbaa92d25c75e01fd8e2ac7c7b1ed1c1436497d6b3abb |
|
MD5 | ddd93854fc89218063898267aefe7f62 |
|
BLAKE2b-256 | d728f47959ebd96f70ee3baf0c761e0926006f903e62a62ef98ee18e3d4b2aea |