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-1.0.577.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01cc65c508d6324b27073b85463eb2a7d2cc4d942ef8c0ce40f6bc8f82d13302 |
|
MD5 | 3ce47e717c966162c0b1aa1268b4c3fb |
|
BLAKE2b-256 | 108479f05502d944afaa5e28ee119d4953551596d0df7fa5825fa6aa01382d66 |
Close
Hashes for cdk_lambda_layer_curl-1.0.577-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8eb340d5dbcadbf9ab86f0fbc590ef4c75396596d8f3746540750166b777291f |
|
MD5 | 2fd25f2cb59d304b7af40b0a5ef4ff09 |
|
BLAKE2b-256 | 73c7229f6a6755dfba2bc176686d8fe2d9c62000750f6f180850f11337ca4b5b |