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.608.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 734a41d7e50cdedb4786b9bafd59c48900f0bc998d234da90e34e2c5da9249bd |
|
MD5 | 69cd5ab52f9011ccebf49672e946500f |
|
BLAKE2b-256 | 7d71216081e98f4365f3c36518b6b4892b845f49e9d954b77c07135a2d1008e6 |
Close
Hashes for cdk_lambda_layer_curl-1.0.608-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17a4b606c642c75ed9d773bd29aa57e0a10c234daad581a3142fd4e3cecb79c6 |
|
MD5 | fd7d3542075114b0cf1227c53494e38f |
|
BLAKE2b-256 | 6710bcb275bcb537b5295b956a7cf59f575ffac699376bf3ff54816c0555cd29 |