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.758.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8fe00a749c52b4e0cf2129af3340d5093a051b0c1106b70cc0c79936d2ee000 |
|
MD5 | 6a8ce796904112d5132b712359774fd0 |
|
BLAKE2b-256 | 8bdca759d039fc360045aaa39734c780cc7ceffc84a06b1ee2ce2b954cf2f3b3 |
Close
Hashes for cdk_lambda_layer_curl-1.0.758-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6bac6a779ccdadda1a525d3ad1a906398d29d6997095c2c28ef2d6e15394fce |
|
MD5 | a4bbba86b94f8160a49983c05a088b9f |
|
BLAKE2b-256 | 56d1cc9c9af88ab7f97f9d419ccb4ce2b7dc40df2dea7405700494e04268df2d |