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.313.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a03ce5737a26243614400bb7e92371fc7c2ae74617db731bbd4eacd2727e79d |
|
MD5 | 9c127841900540368857e3333239da25 |
|
BLAKE2b-256 | 59af19c9e2398332189813b807515c2bd0b4384733c075b1357bb37608e9a148 |
Close
Hashes for cdk_lambda_layer_curl-2.0.313-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50c970d46558fa4bd8286e703951346d174bfbf384d22edf820144fbbfad75da |
|
MD5 | cb58c2696c5fbf518019eafd0c7b6b91 |
|
BLAKE2b-256 | bc6c3170a6d5f50ff10b4021457682e5672bee109390ebfcd719c19dd3896fce |