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.461.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb49aabe2697ab9120174cc2dd9ca3f3e8de4911d95ca2c9226f8a43b0db9b23 |
|
MD5 | e15ee46cb352e233d6f2cb09509c1019 |
|
BLAKE2b-256 | dbc84129ff473e53c1e0e2e60f03a440173be4e6f9e9b224e97345a736eb8699 |
Close
Hashes for cdk_lambda_layer_curl-2.0.461-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2281647602f2d1c77c029999e8a182fa331448f26510dcde70f175c30d375e75 |
|
MD5 | 2fa2c89cb2768148468028e99e92c99d |
|
BLAKE2b-256 | 38f7e351b5c591cc2fd03737e024905e03a29a4cf2869788fe923230c55b4982 |