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.373.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd5eededbac17bdcca99070ea60436c266f13f5dbd950131bdc551f8a698524e |
|
MD5 | 56edb854d68932aaf7384cb46c355e4c |
|
BLAKE2b-256 | f8afc652b978cbb1014067a18d9f1b521cc88d51978b8a77342e83dc74977749 |
Close
Hashes for cdk_lambda_layer_curl-1.0.373-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc10b62ca8095ae2d7be6d4d050639c36e66f30e1088a2ef85b6419567a2e85d |
|
MD5 | 1cac476857bbc3908c3f7c65fbed54ae |
|
BLAKE2b-256 | 4c1314979925aecd12a9c1bd77ea02736103363d136e345456034a3a65dec97f |