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.41.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75ebd60785ad2d5934a674930e8519c29d48cd0c3a48a67d134c98e03dd15065 |
|
MD5 | 975214a880b13d4f94b86dce5b304e91 |
|
BLAKE2b-256 | 01fa5e65f8731fed5516e89ae576630333f7e198f2c1147102ad0cb3b93f00dd |
Close
Hashes for cdk_lambda_layer_curl-2.0.41-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c87573ad7a65de5b2c5eacfde4809e13060a70fc819ea413e2b881fc32974e7 |
|
MD5 | 4ab2035712f3f32e7df338a3a7021808 |
|
BLAKE2b-256 | e3277aaaf9bd17e3cff5d4110a0efcb55b4563e32a36b721cafb4033aeb2ede6 |