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.556.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b0f677f7100aeed5638384384c1358399bf74fb808e579443cc8f1e6d89beb4 |
|
MD5 | e0f873388711a886ba99b81faada56bc |
|
BLAKE2b-256 | ddb6d23d5331698eba51a9778cddb3cd642de91370f97196887e4b221dd94f74 |
Close
Hashes for cdk_lambda_layer_curl-2.0.556-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 711873aefa128ac3f74b5a0a301cb126d8f0d78d06fb6b03d079028229735186 |
|
MD5 | b228263770aa4ab6b9f035260d8f3f6f |
|
BLAKE2b-256 | 3e8cd74d0ecc26726da1a87fbc642a4491dfcd46762dae79498da912c29b55ab |