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.514.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8543a48bc355830cda152fb9f62ddfde4b49aa5448816bcd6b025cd22d1c2449 |
|
MD5 | f70420be7f77ec4dba6dd4f54694d20c |
|
BLAKE2b-256 | 91b739a7e90734bcbb4986c410ca6df5f4c243c9bc44e9f37c607776377e5372 |
Close
Hashes for cdk_lambda_layer_curl-2.0.514-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e43cff8e4026f1e36a30fd8468a843e0a1b20f2a60489923c5aebfd6dbc5fc1e |
|
MD5 | 4ced5a5dcc6d0e695ce269671cc848c3 |
|
BLAKE2b-256 | 1f4ba1ef19f8b2d1e5e461a8364c98a202b3cc904dc416d7e4baab2e18077504 |