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.438.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f35561b01cc742616e3fb1c31fb2d1249babcda8f89025462d1a7d242ce875c6 |
|
MD5 | 24cb3a5f920566f524769c04076a31bb |
|
BLAKE2b-256 | 5e370cf03b5018bbc57a21ca146eb0544a8215a5bf45006003bbd9517b472767 |
Close
Hashes for cdk_lambda_layer_curl-2.0.438-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7e22d53703e9de7336501fb2683568027265bd1b8ec448fde648a1e85e30275 |
|
MD5 | efd977360aefe2426287f738675d8e02 |
|
BLAKE2b-256 | 883c70903f16f5aaeff224530a3ac64fa2952b4a4fa2b79135186a729e0206d2 |