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-2.0.408.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c85870112c5b029b69c9ae415023b5ce4f76d742f291b7862791f85971d4e09e |
|
MD5 | ee952bea9e1022fb51c48d312feaa8b3 |
|
BLAKE2b-256 | 96aabd2caa1a79cd8f1410179e95a6f53edc26fb92f0350736d1f2c2a7cd6244 |
Close
Hashes for cdk_lambda_layer_curl-2.0.408-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab06c3d80dfde7c6a82caf9f4e540571bf89008e4b834d1619c5201ea89d9fd8 |
|
MD5 | 1bc475c51a40ba077b51aba8f8f0baa8 |
|
BLAKE2b-256 | 174e456ac1df4b23bd9431e856b950e4571035cf05a1796c01c2c9b9c1df299a |