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.316.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e7dafb3084a5a6d6a96fe5ba204aa24277c84e10a432e8dbdcfe64b5d7d0a03 |
|
MD5 | 5bb77b7eab3b6eb21cdc56310bc3645e |
|
BLAKE2b-256 | a584645e0908428bda31cae82c88fb13ac3e1b45bff12731046d7b7cbbe3d7c8 |
Close
Hashes for cdk_lambda_layer_curl-1.0.316-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14a59fd6fbcdf0d42c69a583c02b9ca7fd7677407739a768a0be8ce706d81d91 |
|
MD5 | d7e8f140762c8fdb143c932e9fb235c5 |
|
BLAKE2b-256 | 71fe1f5ed2872805f88de887e334de8fbab9c11cf893bae53528e38b3c8cdf90 |