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.713.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a046e09e657a0ba96ad38c03d2c4f3f82a89eba536215b75cdb59247f1914ef6 |
|
MD5 | e952f0f47fe2f4ba605ef84527a0f444 |
|
BLAKE2b-256 | d42c6cd98a6bf012670a9cd04fa21c306f156d9d03a94833e1bca3341a68b68d |
Close
Hashes for cdk_lambda_layer_curl-2.0.713-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11d5e67aac31999c75107d9c28d839f7b63b1501f2ed6dbc40b44102c71d97a7 |
|
MD5 | 60ea345a67fac647f5af419c084f8d14 |
|
BLAKE2b-256 | a9c7781d5b4e4a4f0a6501cee97ffa0d904cfafd01603acd9ca6a8f8ae6a4d0f |