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.496.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 656d47db39f403a5663169c134dcc0512235220c7ef8c8c8bbd2448ae381c247 |
|
MD5 | 02767c52c2ddd0e571b995acec58bfd8 |
|
BLAKE2b-256 | 809429a335d78a54c3b34c285502753becc6f0afeddb9e5be74dd501e0dfff93 |
Close
Hashes for cdk_lambda_layer_curl-2.0.496-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a26b2b0ad1f63cd36194e19877c86ba37a5ed2f2bffcf6d5e117df627c23369c |
|
MD5 | b9121ad1e8c70526c40b1e4f35f356e1 |
|
BLAKE2b-256 | e0b8a10e12dbfb9c86b3b24ce5b614d3ca9f28f809fe5e8f8d6f54f50044d635 |