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.244.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03e47448b5a234218347ce61c7b967283638cfef0526db509f96976fb188a3e6 |
|
MD5 | cc9fb03556ac21f2420b59b1dcec92a9 |
|
BLAKE2b-256 | ea5339297cb1d469dbca14b70e4de845c6ec3eff9c8aee04006b763064b48891 |
Close
Hashes for cdk_lambda_layer_curl-2.0.244-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 656a1b9a5f619278e41184775b63269c5e6ce4556b4f3a700d83027031c6b331 |
|
MD5 | 3aaba98b0c5935add92b26d8fc40c3d6 |
|
BLAKE2b-256 | bf9e018623504aa16ba7d01dc212a95233d238e44e125cded74829990147d9af |