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.310.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e682f6207481b9458d0a6f2d99f3353900d9846b1f87038e4aba2ddc1a81ebab |
|
MD5 | a6f1cda2e16ed71587c25dc731ef12bc |
|
BLAKE2b-256 | df4bed8ef99b62f88479d1bde09f96109fc91d6d0a322a64b9531f67e77c29d7 |
Close
Hashes for cdk_lambda_layer_curl-2.0.310-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c237d2aefa9f86d7c1926724761de3c2ab4cc23c8520bb6f6cb6aa74b6d2999b |
|
MD5 | 76f0123e3fde0d777641929857fcfbdb |
|
BLAKE2b-256 | 722c91625cae8d5b9722c54ef1da0136d375f0164dbeb386c95989be2cb1fec0 |