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.319.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc111bb16a566641f91cd315211d16237488a9983404d553c64c71c449837dde |
|
MD5 | 45d31a7fefd29c893c9a5f8ae0963b71 |
|
BLAKE2b-256 | 538e24f88c7009266f4b276e2bb808f303c760eb3d0faf44c6198b6797019816 |
Close
Hashes for cdk_lambda_layer_curl-1.0.319-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 949d6bb19210066928f6ca0971dbfca4516e6eddd3bed13f6db530446e6f9ef7 |
|
MD5 | c7dee25966495554d9bbdbc01fb80538 |
|
BLAKE2b-256 | e55be33279f5b389665ab6749191cf0f2abde73d5608dd19191fea62bc5a1397 |