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.45.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01a20c606b9f7ac5456ab724f474307984c3f0f7da51c3c3aad246b97e179f75 |
|
MD5 | cff7f37b33f1bc291cc8f0bde40dd4d8 |
|
BLAKE2b-256 | 14f7bb1348410faf7da96d24b50b55ea7ce1b0cc07469b307738011aa12fcad9 |
Close
Hashes for cdk_lambda_layer_curl-2.0.45-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf6c6f9fc6ef715c6d811d613639be58566e361f44f45b7cd2f031d1dc521c2e |
|
MD5 | 49d6dceed9d62b0b1e324f3da1fd553e |
|
BLAKE2b-256 | fa73abf4124d4bcced52ce62004359f7c69ffc56e618a6e8d5191a1d539640ff |