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.17.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1b4433f563481b2a862b41d672beec2b7e4953f4dfadf1521db16fd073e8cea |
|
MD5 | 45a8d93187dd1bd1c8ec3a995d042d2b |
|
BLAKE2b-256 | d85ef19f3f0ec94f99e551e8170f2cb9d6f4eb57a26175b29f3809545382561f |
Close
Hashes for cdk_lambda_layer_curl-2.0.17-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7045c25e2c468dc3d2d9136bd3b472d313a3a6fda76446110f0c0d2a71ed8814 |
|
MD5 | 0d6ce20303380cc93f0ca4b5ec2aed1f |
|
BLAKE2b-256 | 5d8ecc4d24a1555b654320b0f1ce8a6a4b29387a93c94ec111bb1326ce5a1252 |