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.203.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17d44ff2f6097c88cd61e1cf8be4cded83eb8020a3e2880aa7b7ee267326e710 |
|
MD5 | cd5b99059cb40f9a719bbd7e54c6f2e4 |
|
BLAKE2b-256 | 61d2980444e2dbe545b2593442dc933833ab1e0d75aae55c91b8e59b13ff2ca8 |
Close
Hashes for cdk_lambda_layer_curl-2.0.203-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bec932d87a9608e826095e628258b5950ac024297e6cec552754f4863aa8a2d |
|
MD5 | 23c73715be630f680dd55892f51face8 |
|
BLAKE2b-256 | b938a146e62d8c0a8ac296a4075b8b712bad61511f0ef3c477a6f544d6e8ce59 |