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.766.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c9c3994497b55e16dd4c11bcb25e380e701f384e347e27607f9463c29cc0fd1 |
|
MD5 | a898ea8c4af63e177a5363d3914cb928 |
|
BLAKE2b-256 | fb8efb6a5e5a4a61ffb3cf8fc96039f635861ddf334086aae4777842c3ef5a6d |
Close
Hashes for cdk_lambda_layer_curl-1.0.766-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b2469fcce6b8a852f61836ed6869e5455b93898684e3fe3ef33585c6dd53b2b |
|
MD5 | dfa6dec419494d17d847303d77c24d44 |
|
BLAKE2b-256 | d57ac5a1bca4f60f3eb7f7abd97ea2d073895ced2cd5fef213df20757c237ac5 |