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.816.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ceb91a0f24aa1a6b65a3ecb7325baa2df69456c423eb4361ff609ead69d644af |
|
MD5 | 570740e87a9d19c970bd31deab50a910 |
|
BLAKE2b-256 | 7c586d18e7138ef1688772e4e62d86359e5b74bafa848c3d83749b035496586c |
Close
Hashes for cdk_lambda_layer_curl-1.0.816-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2af3d2f7cc8d2d5470c70b60e71c95136923c8fb578c01424ff36734992a832 |
|
MD5 | 3802e79361d2b611e17c165468cb725d |
|
BLAKE2b-256 | 9ec7510b43aa5764b2bec98aa0e163944761214fd9d5220e4abde483afb166aa |