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.695.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57715ebe629a43ccdf54e1c700c2065b886374167dba56039e2056b1908c07ab |
|
MD5 | a6aaee7a0536db3f6781fd5d6aec7988 |
|
BLAKE2b-256 | 2e82c76acb2cefef12bd8a088853c05bdcc50809a716304195860f22531fb0af |
Close
Hashes for cdk_lambda_layer_curl-2.0.695-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca3b563679c721f02552b4edbe17ad50c567392a558f4cda62e010db6d25557f |
|
MD5 | e28ea2949f453eae4d77fbc06c2495a4 |
|
BLAKE2b-256 | 947e1cb0921add02829795b0a056b3ca3fa1ad6dd51829fbc09dda6e5ff98193 |