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.214.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3c7d63186c8225b27edd719b740bfe74710f900b4275111878dcb83d009d3c2 |
|
MD5 | cf7fcf7b276d91f3d6797621c5d0c772 |
|
BLAKE2b-256 | f4c9c145ffdc190792279407e2671c9e4a80f1564a500585e4df413eca9b6fe7 |
Close
Hashes for cdk_lambda_layer_curl-2.0.214-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8881a20bdda5b2e97d0b53d340a049757d2a628c276f2b25db318e2154503d61 |
|
MD5 | 1a96aef5a79f463cec8bd362211aba41 |
|
BLAKE2b-256 | 0056e43eb8abe09a6ca405752d6756f670c543f2677c2898fe23e1d620795da1 |