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.493.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98eb29d351cc230e376fba85b93eac308229ccca5a0d29f9056b39f32c75f571 |
|
MD5 | 9e02147beef5cd1d5145425612fe4c73 |
|
BLAKE2b-256 | 77a36d25f3c1eed5251f2bea88a034943a0887f0feadae960195d2fef8bffd96 |
Close
Hashes for cdk_lambda_layer_curl-2.0.493-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b7fea6044e9fdd7e8e6b54b68ee094ad76e051d1c2f705fb1d882141b52acd3 |
|
MD5 | ee30fb90867a553f1b6f28d05c2acd9f |
|
BLAKE2b-256 | 9fbaacedc59f2696eddc8240f5983797d7e6f3d3e97e8c518b51e8ea35f63153 |