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.381.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93b5f7b2c67023b6e4425b6cd71219ec040d1fd76b25aba61217180654f67e2a |
|
MD5 | 73b4b3928db34878ec0498402d42b354 |
|
BLAKE2b-256 | b4975168b1ab2582b4c333db04920f8697869c6aa7988a484bfcebf78f7d6eba |
Close
Hashes for cdk_lambda_layer_curl-1.0.381-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98c0c793a8dc052f032adc9a84802799ee58840cf66caec572e795a57006d91c |
|
MD5 | b1c9b8b57eabafa2a0ad16af3a27c4fd |
|
BLAKE2b-256 | 4d3e9d1859a68509fb3aafd2f43abe77a5781f5d31c83abdac2fe4ed3b7b840a |