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.154.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6240a7a5aace7eea5e7d935b76dae8ff1e2e95cb701598f1fc0c7d268b9cce8 |
|
MD5 | a6b45c38e4e5f7bde38bf286a1253db9 |
|
BLAKE2b-256 | c5431167e3a9d34ac24602e292ea19c5d73cb00ed7462c58b449a3c911c60c0b |
Close
Hashes for cdk_lambda_layer_curl-1.0.154-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ad5f81a13f57ef99d5b2c5922b3bbfa7333f5a0f03e455829fb36f761a3f070 |
|
MD5 | cbba2cbccac610ef5606628dec8a2606 |
|
BLAKE2b-256 | dfa935f8c3827f49a0d5001e783336767f58a60247a2c40c67067112b8599c13 |