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.655.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67129487dfd04d179fbe54f43aa7be2e663ba5dbc979d06ced38a67c58463c9e |
|
MD5 | f1c3c040d11369f3e5e8f1e85d562e49 |
|
BLAKE2b-256 | 7d3940b396e7cd9dab703e9f30fc60df7bd48d0714cf1d4cb65383b2ed100324 |
Close
Hashes for cdk_lambda_layer_curl-1.0.655-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73171847d5caad973dc0c73c5c3ed5433e1202af882ee9861fee6a221fa6561a |
|
MD5 | 92d07b576a9b24da608f2b94b456cdfc |
|
BLAKE2b-256 | f636d59757b2bcd3a12ea31feb0c112494bbb79b0ae8239b55c9716d2c69d9e0 |