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.203.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 788af396d181c8e709534c80b2281c68a1e3cbb5d6f32e12fa3186b425910a76 |
|
MD5 | e29c233bc97639577e4781247614a871 |
|
BLAKE2b-256 | 310398a1cfd1913356e2d546da177833f41d11676653fc4c19be342fcf0cd33f |
Close
Hashes for cdk_lambda_layer_curl-1.0.203-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a93d9a54414899ddf192061ad1127f0192ea2512a71f531d36f6f0fc0059351c |
|
MD5 | a0e22ded61f4b63ea72cdf16d97061b5 |
|
BLAKE2b-256 | 0a540e0b7dee71a19a7a5d8d965e9f926688a0c28d9d986a079a4f69f8f55392 |