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.749.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 774ed87d7e97991a7e781417b7822cff834c2dd98e18a1f53ee287c8b31b57ce |
|
MD5 | 42c3b8b67b20ec4665cbbcb1dd25a33f |
|
BLAKE2b-256 | ed035fe4a29a5196bc8e978b8ce0410b69a3350619209ea50ec7c85ffd3e974b |
Close
Hashes for cdk_lambda_layer_curl-1.0.749-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d72352d0fd19fabdaaabe2f85de1756a93ab770199a1d7a9a0b74236aa9906d |
|
MD5 | 4df81f3b6f635e8b356de22f865a32cb |
|
BLAKE2b-256 | 024da32b4be06b36e4df60bcb920f9a58d28e812a002b3b8d452b6425faf089d |