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.30.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdc1a754d352032ab96d62b69e902fe119ed5177fc2800608c72bfa41aaa0c7f |
|
MD5 | e3ecbbd24e1338e0960f00d55c4348b4 |
|
BLAKE2b-256 | c67d6152cf950fc3d0e3ff09e830ec6c366ffe16232e41a2a67d88535e77d5d7 |
Close
Hashes for cdk_lambda_layer_curl-2.0.30-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c53b53b59f9de2f7f7dacb94feb59d2f2dae32ef2c1534f5ff998e0aad98be72 |
|
MD5 | ad3045f0d6655400275805e0cc2171a6 |
|
BLAKE2b-256 | 9ddb97de7fb839745f51f5f8406f97b5b68363b75c0878ab0b2c07040927ce2b |