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.179.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40c1f01138920ec2551b4a402ad5f698f00e822eb82f48f1aadcd0a5b6e78c8c |
|
MD5 | 3411bb664312eeb8662c0bd441c9a4c3 |
|
BLAKE2b-256 | d2112b336ea1b7ab1bcca4e4531e29c79dba4ad5f52e3693047db21c0cb5694a |
Close
Hashes for cdk_lambda_layer_curl-2.0.179-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de4729cd903497a8a2b274b285614122b29397c46a87e5b12ac972d51669b811 |
|
MD5 | d37d4df81a136f21d9b8a254739d3b8e |
|
BLAKE2b-256 | 1df89542c8f326bbbc91d8114abef67692e7e22b49d00bfefbb75026a3373ab9 |