For lambda layer use curl
Project description
AWS Lambda Layer with curl
Usage:
# Example automatically generated from non-compiling source. May contain errors.
// 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'));
# Example automatically generated from non-compiling source. May contain errors.
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.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85dad8913bd16f423d55ac70c795465587732ebf323e3a6b905c324b98f9b72c |
|
MD5 | 524759c9b6b9abe8fd8ba5e129521d92 |
|
BLAKE2b-256 | 0ff181ffe6a6893f4bfc769228928a7d70e75df46b993b6e7a325a51d2efcccc |
Close
Hashes for cdk_lambda_layer_curl-2.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a08f798068ed07d85bc537653a6f02967cee887c18ae2607dd33fb0e39a2fcc0 |
|
MD5 | f4804727705b5807f891a0f3376372de |
|
BLAKE2b-256 | 1b08145300ca541d4e427020bf86605d2b81020ddac83cc7bd558db175a8c241 |