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.815.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c353fc1eead977dd21804715ab2710a4d3d38782f327b4b0fbf968c9b6d78d1 |
|
MD5 | 25bb8f28d158b71b1b498a82e4c3642a |
|
BLAKE2b-256 | 7d67d966b0ae4a2de4ee94fc833b6f5a14ead0e2b7f9f43ca8afe8dbc70ad56e |
Close
Hashes for cdk_lambda_layer_curl-1.0.815-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da3186039bd8f54810c1cfeadfb2025f1c24ce175e2ee5fac501381552895d22 |
|
MD5 | 35744276dfda0df863d5880f9c90563c |
|
BLAKE2b-256 | 19e04530a5484a823e9312e284f572b86992a8d1f4d96212729463f99721db23 |