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.572.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e955f2d5596e9261b761ab23cce2a4facee97c8b6577591a298d590c7a375278 |
|
MD5 | 8cfda3cdd3660f67b247f5f4a3c83bd5 |
|
BLAKE2b-256 | f792565e39b36bf6887ff23d66148882afa6e97fa859f9456ae97a3418aa247d |
Close
Hashes for cdk_lambda_layer_curl-2.0.572-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2138d9cc0020d9433e5652ab14531424ccafb767f20a7591195c99c8215394f |
|
MD5 | 7c64846d646944944f8a5a2078bdc4a8 |
|
BLAKE2b-256 | 3ae3011439f982300d7409eaa0dff64cf50f5fb2652683458e4248a3c0773c91 |