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.286.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 151e7b1adeb9837e1d801fcebf5572e71d5e77a5e30f9cc1ffba39f7a742f702 |
|
MD5 | 1906d5458e66c32f99a03ef4e379bf2f |
|
BLAKE2b-256 | 3771116982c1927784d22e16cf63d4a4cac6d0f1c857f7da9c24dd4a96316ac3 |
Close
Hashes for cdk_lambda_layer_curl-1.0.286-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 896f6118378ad93a075ac6a2e6a30a17bec8e8694cd9e1f0dec2e2214bee5012 |
|
MD5 | a7e433ae0f24c409880d3a5d82c7a57c |
|
BLAKE2b-256 | b653993ebe9e8a07ce8e3d2222bdd136fbfcede93847a07e6f7b19dc18499db7 |