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.834.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70fa47cc14665468f37f83c562ef1f27fcb9953c202da4b95ca3cf6fcfad3d69 |
|
MD5 | e00f5c4b34cd9e5a11b88254b54b42ba |
|
BLAKE2b-256 | 1d5393b4e7b0287efa527967abd80fc92110eac68aa6594f7388789a177d285e |
Close
Hashes for cdk_lambda_layer_curl-1.0.834-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 714678bd62f07338c59b6f901b712368c678a753c6d4718edd325e19c6324680 |
|
MD5 | f5c585f0c9f9648ec57f9f3cee053fc4 |
|
BLAKE2b-256 | 34473eb37313dbb6a69fd4cf3d3fce9d6b64a205557340c18eda147980dd0eb7 |