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.298.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56befa87abb1979c2c1f177f669ffabdf582ff175adda35a4d4fc5ead90e38e8 |
|
MD5 | fbbda9ad31c89e44f790ba3f8ab86926 |
|
BLAKE2b-256 | 269d37d5d07f6612292527d86160a3abcaabd83de69c376d12e8349ce8118414 |
Close
Hashes for cdk_lambda_layer_curl-1.0.298-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6703062b17e620fa4925c72492d99face631f3d1f6025b65a6715842c261ee23 |
|
MD5 | 206dea521364abd82a766032e9dbee5c |
|
BLAKE2b-256 | 2215c26b9d3da15254bb35de94f51f8cef71e2b7b536c4b0627048c14b3fdd4f |