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.73.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a231861620fdaea985f4c7e01576ee10638a3ecfd38a15cf02c6fb4ce548d08b |
|
MD5 | 8cc4a8d1ae76b72cfecbabd57e57d28c |
|
BLAKE2b-256 | 5b66c5a1b5ce38fb37dbdf82c9c68f25d7a5b7d4d586be114b08b66a9645aa64 |
Close
Hashes for cdk_lambda_layer_curl-2.0.73-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 567da33ec101b2782033aeeaea765f53fd3cbfb237102c23d3f385b94100d7b8 |
|
MD5 | 33c6f2d77c9a70fa1755151d0878d8ee |
|
BLAKE2b-256 | 8ff42ee59d962e07ae3fb70857bb3a2733bdadcdc5ee36392e6f9468366623c4 |