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.246.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c8c8ab958c4436353a13a6888e54d73d972530b2b3caf3f03b1a264b1f9a70f |
|
MD5 | 14e2b96b6b81791a982484e073f65e05 |
|
BLAKE2b-256 | 5f680f10849c57419e68f09138b441e5ce612de5fcfba67ad6f70f5e9e5de4f6 |
Close
Hashes for cdk_lambda_layer_curl-1.0.246-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61ba6a576418bb9ea478ab8dadc12ea8a85f25a1ff8ab51c8dd17a59886db469 |
|
MD5 | e21f7a805053db435bca4a24c71ad028 |
|
BLAKE2b-256 | d78c1d626f0e2c224d9a960b5f199667b9ae2e339cdbcce53d16440c4f2f5833 |