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.773.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97ef63d7a126a011a8ae70e2aca886eb6a83199ea2f571358337c3503b96f414 |
|
MD5 | cc98ade4d08d43febb9c46f944e1cf7c |
|
BLAKE2b-256 | 4f1d3cb536eb1fe30c96a522640467232b5580c530797cf5d121da7d8691d5d9 |
Close
Hashes for cdk_lambda_layer_curl-1.0.773-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df7134d78a43eb6dda2c3dfd461de3aefa3905d3fa5e80e3aea3ef6b9798e8de |
|
MD5 | 4567a1d30d3c0c313403dac3be6bfce9 |
|
BLAKE2b-256 | cb04c78f8132df75d61d1057bd471e944aea12f61c6c29750f2e4379c28b7fc3 |