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.825.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e75428423c1dea655ed52e9290e11362202d7d62716f27f97ade802ad731034 |
|
MD5 | 112cfa727574029acba250de3cdb1bd5 |
|
BLAKE2b-256 | 6fdc5ef26b0fd6a11ce0db76408f1e9cdb08288dfd74942531bca513e20fb4a5 |
Close
Hashes for cdk_lambda_layer_curl-1.0.825-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4caca1b2674f6fd7c2aa28d88d35d1f793765d27d537b8d3c0ac89c6f53f166e |
|
MD5 | abab8cb3ddb27e1d79274765196a1314 |
|
BLAKE2b-256 | 92ec606e06b587e8d2faeb8506118ed86bcc67b03ded940ffd910cff27c288ed |