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.564.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79ccef2e98500c0b67be8a760bd8b07cdd5551f1838d39bc690c792ae44fe3f4 |
|
MD5 | 97aa8eb13c8a3f03de78bf28ba4a99eb |
|
BLAKE2b-256 | a52440bb3ad94a798770d88d0b24d70c9018250e34091ffa48454258f08fa29e |
Close
Hashes for cdk_lambda_layer_curl-1.0.564-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00972e6220beffbaed722162c91ee6a1d46f90dab30ea3942ac825003a38824e |
|
MD5 | 1fff4ebaa90d7832244f968fa068cf2d |
|
BLAKE2b-256 | 32116ff765d594c89840228ac148a31c498c0f5f598cf4e7a26616002a220e78 |