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.455.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26265872e49ae5ca169956098e892791380b79e4397603b8c0e5931fdcda8d70 |
|
MD5 | ab3971c453c2cf41882d562f06d7629e |
|
BLAKE2b-256 | 739ea07b9e5d10bcd39550c64f45485509e3991161f19d85c75d13ffbd659bce |
Close
Hashes for cdk_lambda_layer_curl-1.0.455-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ca8cc7571e668952d78509674438a2214a6b01c2db1e0828b4085809073f779 |
|
MD5 | 2eee9f8cb73017942aa3e9c073a464e4 |
|
BLAKE2b-256 | abb9cac1be9877c8b6deb057939bc2984a4d44158540cd50e09215303a642538 |