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.453.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe456cf0756a5bb6d8122750b778ca6389d70ea06d4d47cc30fbe853c022368e |
|
MD5 | 6f6bc71cde8c8b70116e0d8858cfd2ac |
|
BLAKE2b-256 | 7b148088c7bebffedd248015b38cfac702ef5698c18cd2743727089b5583423e |
Close
Hashes for cdk_lambda_layer_curl-1.0.453-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a2b48fbc931c3acaa20cc8be8fccf49958ddd053c97f107bfed7cd97a56419d |
|
MD5 | a86eeeaca1b47f429a0b2584412408cd |
|
BLAKE2b-256 | ba7ab60041eb8da6984141328bc17571375c55cb697d668abb9b4f1240eaf027 |