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.88.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ddab49ea5364694c956e2a339c36ce97b78089828dccc802618efea4a2077ca |
|
MD5 | 0f3ec8463f04236f97c6404d2f6469b9 |
|
BLAKE2b-256 | 4af727183bd7210750b882043ce7b4c0ea41a0c49f7b7cad130d33bf9f61b954 |
Close
Hashes for cdk_lambda_layer_curl-2.0.88-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07c289f4cba3e905c140f5d60215856a5ac1f0366ba706abfe5b127880008bef |
|
MD5 | 0f39c1084350c20f292bb874c212f291 |
|
BLAKE2b-256 | 40e9c290a3f93c4ee2afddd9fa2c205a99a4870b4c66c64cb457f583fb000b98 |