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.128.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e71e13ca104d7fc14f30794469ea7a3c2b7594155e5944b9e26817e2f072e908 |
|
MD5 | 750cbf4bbb6d813e65d80035494de85b |
|
BLAKE2b-256 | 85027269609e09d2e9298d89f19c457954f220d20ae8e2846cf9818286dc794b |
Close
Hashes for cdk_lambda_layer_curl-1.0.128-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49ca294db1d7712d9f1c60251c4619e585fe36a8ee11121a795135305404561e |
|
MD5 | e33d675ad4a42e08949bb22d28cd9559 |
|
BLAKE2b-256 | a74c9a3ceb1002e39ecae90ede84f75702759b60bb9a130de6c282b88779e4e7 |