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.264.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8952ac6ce2cbc01c58f56fcc608e601f1312a7ab4c4d347893b9c972a49a5933 |
|
MD5 | cfe56154ac99f38301bcf16566af7f14 |
|
BLAKE2b-256 | 1f32bd0de21360fec230dfd2d5863aed9f1a79654efb172e23babbb94ef6ebf4 |
Close
Hashes for cdk_lambda_layer_curl-2.0.264-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03682d391357426a8df87876fcfaebdcf9b0c0362da69cae851e0d9da0c29ce1 |
|
MD5 | 85049ccd51b2aee5d83e5a6ab83864ac |
|
BLAKE2b-256 | 8e5ac58cc961bb3b28dd83a45f82890214a0a993e67024508f049b7d20966198 |