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.430.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9f16cb0356433c92726ac767a11c6d3a8aff4a6c8f8db393b2ab295b4b25a0d |
|
MD5 | e46ca413bbe7615959092d7832aca7a1 |
|
BLAKE2b-256 | 2af3f660ec6fead48d70a62593a4e00a0c14be1c0909c7cf98e8862218cbad11 |
Close
Hashes for cdk_lambda_layer_curl-1.0.430-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8ff843fe8b3b7143dcb82716cfcd2775bd71258856ac591dcb0f05f215b95cf |
|
MD5 | 040cc5dbbd9e4383c8c39101b79d2bb7 |
|
BLAKE2b-256 | 838ad0b644445f80b5e3326236d8f5b7471e439626c0f7da08827951fb85bb86 |