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-1.0.623.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb355b477387b72ebcf2bceebe524ee6aecf6355d81229446bdfa558beb30352 |
|
MD5 | 94ad75fc770f59735f89ae95fe688e89 |
|
BLAKE2b-256 | 40b50eeb869bdfd078792c738f193505d4d42a6c617ea143ccacebd69db5683d |
Close
Hashes for cdk_lambda_layer_curl-1.0.623-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57d2d368c2f11663f61a992278e2023bf4668323eed16560eeb6fd007c9f8395 |
|
MD5 | 2c02482768b31680bc602c89d5478124 |
|
BLAKE2b-256 | 592c20ec28a4bbf9afeadc9a1dac60181fd9093f4911c3209f2e8ac4fc4bc5e9 |