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.276.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 975e9b05426bb087101b81b05ca07dfd1db937ccf35e156c391ab40775ebb129 |
|
MD5 | 334bf5106397db2bfcdef516c335403e |
|
BLAKE2b-256 | 38b158eae9ac816202e8b89d651f750d1a308ada3673174edfb8ffefb110c906 |
Close
Hashes for cdk_lambda_layer_curl-1.0.276-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6731cce01dcf64c568869d1b4e1835067ba0f32e8289f9d5cede8b07902cdd35 |
|
MD5 | 96c3e5f0a1b527a7c11c27930e551637 |
|
BLAKE2b-256 | 90693fe7ffaf27d044477592481372e57827c32eaac94106bf462c8745e20e5d |