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.153.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f437bea706dc241df25c920f5fd0250d4a356e2fd083ca5bf43832f890e565d |
|
MD5 | 915b081d8581b588d18abb9d4ad4ed47 |
|
BLAKE2b-256 | 944d702752b0fc8b8cab2165db9761f12f9bae6595e4c4d0dd81dd1952ee8989 |
Close
Hashes for cdk_lambda_layer_curl-2.0.153-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ab84b41458621008c9ce2470de530451a99755f04269592333625611bcba250 |
|
MD5 | 6a0dc10c1e9f36ae8e6dc864718be120 |
|
BLAKE2b-256 | 05f5a6d138c3ae1ea06d5ffc3a427b4494da35faf743396e4379595a146ebb52 |