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.227.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0089e757dbf50fa2945c8bcc2024883d9217e590dc85bc68cf44a6fd6f6b870d |
|
MD5 | aa66e14380808b9b20862612ec29790a |
|
BLAKE2b-256 | c83071c3ace65d9bdb9644089be4bf1f36d3a75583291e54e115d94b157c931e |
Close
Hashes for cdk_lambda_layer_curl-2.0.227-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f53cc4381d24f03c37a17e0b251ce024b3ba01ca3a3ffe25f79d6edba962b6f5 |
|
MD5 | c1c6191583eafc74aedce8728cbddb81 |
|
BLAKE2b-256 | b7e7e249976c9fc96f7c57ddeacb122ab3607bacd58677c4b0aeeca9c54164de |