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.41.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49eb3271ff0ee2e59dd98def24f6d76987c6da72ea2bc916afe9af7c93533c07 |
|
MD5 | 34102fe5d5ff621a6ad5f4dd5fe4137a |
|
BLAKE2b-256 | 93e93e0ab4ed5d9fc8c7bc07e62ebd77c860a7cbfacb0f22a4e7d670496b54ab |
Close
Hashes for cdk_lambda_layer_curl-1.0.41-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31c53cca2e1647d5d1d5e694d027d34f08752bf3c77e5819acae087368db4669 |
|
MD5 | 246340683ebbc5b95bfb506c272c5565 |
|
BLAKE2b-256 | bd95c6f2eb6f844c6f878fdb88d5e962b116e922859c891801b98c92106236e4 |