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-2.0.785.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e84a873acd99140ca5f7a0648ba740e123af0ed0a7cce0ba888c8934b5695a7 |
|
MD5 | 4320fcf76b04aef2e917ac61f7f9309a |
|
BLAKE2b-256 | 512728d91eb8a2c589eb46427e33a838ab06c6490e79635dd0176d3016b7985b |
Close
Hashes for cdk_lambda_layer_curl-2.0.785-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17edfbfbe2be5e67bc6321d3ce320d8dad800debd4cabad9f8a81542db796662 |
|
MD5 | 6248cbe5700e0c0f3de87968c2d61ef2 |
|
BLAKE2b-256 | 17e5d6f68c57b80d9016660f7fb4d204647831468af5add53660ebc71835f8e4 |