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.737.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e10f086f4ec21f4979472f024e344b3d98fe878f7637de3854b02375ebdfc55 |
|
MD5 | 58858947487373832061aa11d4a1955f |
|
BLAKE2b-256 | 207c08a533b28d29592bf7c831c6e753013645c7470cd2efea2f869a07fb14b6 |
Close
Hashes for cdk_lambda_layer_curl-1.0.737-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ef837a04d0259af061891db32700a9aa5422dd3b8a52b211602c283d86b91da |
|
MD5 | 152ace5dfca4147520c19fd8540c76be |
|
BLAKE2b-256 | b28cc104f8ef63450cfe4f70e7c6a1f37f4b8fc8aa6816d0928ce065a6b5c3a3 |