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.318.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95684600a3d8d8490230fd0631a3fae804fef3483517f40018b1bb10e962a222 |
|
MD5 | 4507da10200dccb1df013e9b4aec7db1 |
|
BLAKE2b-256 | 0c200d7f48240896afd2805bd9bf51da3645ed25f7f6d98543568600956ae03a |
Close
Hashes for cdk_lambda_layer_curl-2.0.318-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa4b1e0df0e2356af42f53766d36070c214826faac8bc7fd95fedd268105222c |
|
MD5 | 55ba90fe2b845cb90c067d11ab827440 |
|
BLAKE2b-256 | 20b20716646a405f74c209526893a01a4c1ed901feae56dfeb397752b3094d5c |