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.405.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | baa38a13137dce341b1525bc26f7daf49a24e7627f20a5d82d973536801d4c9f |
|
MD5 | f9387f586d4213f9af7a06d3b53a5615 |
|
BLAKE2b-256 | d47272f92dd18b0a2afd55b2e59e7787465cf52d9d2721265f5d2cc0f8c5a217 |
Close
Hashes for cdk_lambda_layer_curl-2.0.405-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bfff72ff32768acf0304467ce99d39e42610e333e394a6ccbdb50d4f6f91199 |
|
MD5 | 8ba146ff5559c143b94a4c0e9a557e54 |
|
BLAKE2b-256 | 3196eb59e8e8456454fd8eef6984f1a08fe851cc86f183fb438bc4198bcf6417 |