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.359.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0155ba3818473114274d0ba17e921bac7e6671e507bf8a710c840b043cd1662d |
|
MD5 | f10b09aabb2738159d1b0c4f9eadf14e |
|
BLAKE2b-256 | 887ade290c2399e2484fe16b57c202ac429f84721e2c0dc82c158c93fde49d2c |
Close
Hashes for cdk_lambda_layer_curl-1.0.359-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fcf1182a09318ca1c1c7ebd98e9ba1a41a3763e11460b34ed30fd0979caf418 |
|
MD5 | 69c455e8ba91bb00a9518775f517466f |
|
BLAKE2b-256 | 7599254ad7262dcd24a9bad2ea8d6dd9e90fa85e30760666a432c0b2348597ac |