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.261.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec67d209ac5fc9abf6c0a99603f1a38335c31fe0997cb9933e23ff360336f95a |
|
MD5 | 337b71e67a4f5a8245d85616d72bfe8f |
|
BLAKE2b-256 | dcbbdc4b9c303bb5d2b589f8c3b83e20c0f7d767ba19c1d8f31aa7eb65d913c2 |
Close
Hashes for cdk_lambda_layer_curl-1.0.261-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 160ff2226c7efde37b2bd665258286bf9ce0f5abe6c904c0e5c4bbf22a633e21 |
|
MD5 | 62aff167ddf3292de9710eb6c53892a0 |
|
BLAKE2b-256 | 258c2e5f34023360cce14bb4c3729427872a86cfd8ae81cb5c748bd61c39f484 |