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.401.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 927cdcb4524f66b411498c3a6edec1818ea3f21c34037e237f34218bf9b60ebf |
|
MD5 | f82a37f3583b7175cfd769d89a4f10e7 |
|
BLAKE2b-256 | 06b58abaa726910e3aaf516dcfb46290e078708e82be6118be2fe45abc7d156b |
Close
Hashes for cdk_lambda_layer_curl-2.0.401-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f954d5ea421b55422a31a4a6a69cf7d1ea11f5fab707af337f3f077569d8d10 |
|
MD5 | db8fa5b116fa8ecc6787350c2e360f20 |
|
BLAKE2b-256 | 554c19447f88072f1e2d4aeff0897b61691ea4594c70058cdfe2203153bfabda |