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.512.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c60d34fc1fd7522068447703fe95afce1b5cd529d9e9cac12537624a0aa5f17 |
|
MD5 | 4fdf6d60d567117e78f782d3e9c2ecf3 |
|
BLAKE2b-256 | e075e5d6bd829d11573d60ed5a84802b1e65207b37340a6bba05da9a1bb0f2d6 |
Close
Hashes for cdk_lambda_layer_curl-1.0.512-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b277494e6eeec15c6c0a14722fc63b5c266b3e3c8b1da89ac2faf416e90bfc3 |
|
MD5 | 5e9a600a7db012cb8f17f3b3183e6c1d |
|
BLAKE2b-256 | 3fa789b75b80cc759420b4ae375ba0d0c1bedfd885406979c859828dbbcb88ce |