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.634.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a77b7e1d6da2e990e9770160b4c5166d55e90c1b34f4ef9f5c059c4c164c770c |
|
MD5 | 52e06d72b93b25e00f3f7187826087af |
|
BLAKE2b-256 | 14e41a54c591475902b7312dd4d81d003cace973eed1f44e30ae5890a7859a34 |
Close
Hashes for cdk_lambda_layer_curl-2.0.634-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c77b853a0926609d56d6b200dfec76f79d877292fa867b5975351f32ecf74680 |
|
MD5 | 7f8b95acb38f867d8275f3dc08b0177e |
|
BLAKE2b-256 | 1875d056d2a28c18b3b8b8e6366f7d2f8d82938a2133e7e1c7551da9fef41319 |