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.443.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6eb4d472590135aacc9e7087ef57a3efe239f8ca087102ba8e87f03ea399ee4 |
|
MD5 | c5c14c364411a423e70b8151625ee353 |
|
BLAKE2b-256 | bf3a9f88a73901d25a07bc3266991b5ae1ffc4086b2e7b94701f60b181a81bc5 |
Close
Hashes for cdk_lambda_layer_curl-1.0.443-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7cf58b93abe3f0f51e0d47200c16ade794cd75b3c0adf08eb2bf294503d225c |
|
MD5 | b17e84cf0c4807e255c138b01a716a1c |
|
BLAKE2b-256 | 7d6f2a7e0075bbde13f00def1b5f590f5fb97ec588df5257491a39df840c9ee9 |