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.657.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b26b77215b270706fcf6db01b7a7319642a2a6adf8322cffaacb2b378c3f0a3 |
|
MD5 | 77970a465707de977ca0d73de47c3b5c |
|
BLAKE2b-256 | 57798495b7300d7edb79d9f864cc3f4e90711f7d44a6bf89d49028177cfd3109 |
Close
Hashes for cdk_lambda_layer_curl-2.0.657-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25cfd8bef19dd4d09dc918f290ad5e1d78738a91820d5492a04e3470bbdd1d19 |
|
MD5 | aafe18db0c7f09e63a999c1698aaf617 |
|
BLAKE2b-256 | 3b9c2002cf061d86c2206a9be6421c44b32dceb8da88cdbead744526b0addfaf |