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.85.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ed370621212d40bed999523d6c81628af6d3749eed077c0529ec69b9606ad19 |
|
MD5 | a0851f99b0c8c8745e2ac5947495e866 |
|
BLAKE2b-256 | d38bed9b70e945ff3529c72f352806392943f55a22ee9822b30acbe37b0b925f |
Close
Hashes for cdk_lambda_layer_curl-2.0.85-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb8d3543a008913b24970734ffcef2bfc73ac9e031a08234e057880ea0b59a70 |
|
MD5 | 53fa5f24205bad0a1b4510a7a2d78070 |
|
BLAKE2b-256 | 8029e5d5211256b3cb6fc3a9cde1f0dea2873495689a6d4dbc1458f919190888 |