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.143.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6deefae6a5359f6a154425772309fb80c354eb24facfa711c1420e177e0026dc |
|
MD5 | 684c84b8e2ba306b734a26ff9c72c6ae |
|
BLAKE2b-256 | 481f9a37b8440fa6e82e0ffae04c028cb2d184ed88ea208dd338df040e341241 |
Close
Hashes for cdk_lambda_layer_curl-1.0.143-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c00327d32fa321db6f4a9429d3617dc6510ab88c126ca01278b3db294edd0def |
|
MD5 | 3678546e4a5b7f45252beadf3e4a3b40 |
|
BLAKE2b-256 | be0912fc1a45dbad231d10699783049203bd032c75ff565ac65739033ff8475a |