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.694.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e4b8206d9daf068bf7de240afc30cb84951756a5860663ce5e635731156e984 |
|
MD5 | d537436956284bd6131b83389fc523f8 |
|
BLAKE2b-256 | 94d8f85e0398566b2cb5572731677af66c54858145cb680b3fe9702eb692aa8d |
Close
Hashes for cdk_lambda_layer_curl-1.0.694-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c62d8985a3d3e861c75565e3e7c2e257d0b2836574f0cf4a64972a6abac78709 |
|
MD5 | 854fa1aca9088232a1fa558b1db21279 |
|
BLAKE2b-256 | 758a5d6f538d5acad71aef121b22d9c3b6fe6dd35b20e1b0cdf93a223a847d33 |