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.462.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6b1eb70f6f0428ffa2f3f91715e6523b30d58b77f47538fb65afe6721b537c1 |
|
MD5 | 78ec55bea475a4928966cabc75e22e15 |
|
BLAKE2b-256 | 3ee38f513dfdd429573ed7a77dcf80a59e71dc039a61da7487e9b85a0f29aae7 |
Close
Hashes for cdk_lambda_layer_curl-1.0.462-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c22e7d714fac777bade6418c39a5ebe79d8a823fb7bc5848f08a760a36b3364 |
|
MD5 | b98a85607f16aa93d53c7a4239c722b0 |
|
BLAKE2b-256 | f97bdef4f4d121869c2402e550c320ddfb8a6a120e7245a2f8424cce4d7f346c |