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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9bc501e016843214e66357f70529b488a6d893ba66c6172645ae5d998214cbd |
|
MD5 | 2f57b83c6abc36ac7e56d6d6b4d9d7e4 |
|
BLAKE2b-256 | 4e5e0e0df6f996fa638857f06297f5f7801a5e2c6e346277a643b80feb1fcee3 |
Close
Hashes for cdk_lambda_layer_curl-2.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7db795ec331d29670d5420a1f1f1e8580730cade8461c27e827530ebe065fb03 |
|
MD5 | 7773d758fb2ea89f98bfebcd5351d9ec |
|
BLAKE2b-256 | 9143d06732910bbb0d2c68deb1004f19aea55690c81ad103313ceaac6db54ac9 |