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.631.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd43ce5498d75590be3a95002b78cca0c4f6fd0c5095fc50b8f744c9cb38f515 |
|
MD5 | 5025839df1cd4c4ef0cfc511d38c6649 |
|
BLAKE2b-256 | baa06c6d3998e2bcbb14acd949b65ab5b06def531af5e2c9ae7679e46e5aad50 |
Close
Hashes for cdk_lambda_layer_curl-2.0.631-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c34093443dcd37eee1df42a03ba17dc4280ef65ce42b35482fa69d9c873076e |
|
MD5 | d0c16f3b9fc29d583df85ad5ba6834a6 |
|
BLAKE2b-256 | f8c8251725479402b6e92ef9f24d4a729ea3ec6cf51ff1fc410844f9509c79c6 |