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.278.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d94e18dff255df8013b0efffbeda560055fcb73ec88b8e64a01a20a4b259cc4 |
|
MD5 | 68e520ac444657b6ee40a6c837810cef |
|
BLAKE2b-256 | 1e239bb3f79c15eb9ba2a0ad0c18554dd9255f47e764bd2e04131f4351cf6165 |
Close
Hashes for cdk_lambda_layer_curl-1.0.278-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d84c2a9fb26a9bc8ac501fc2ca3a9b13caaeebeabf57c12503cc757a81316903 |
|
MD5 | d9467273b3f9d791515c576b593a453b |
|
BLAKE2b-256 | 13d4d384df30427efcc0a59294defab8d24b9fb3db3cf078ded518f0db9f082f |