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.795.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a449b96c693f56f77565dc1cf46b6be0449eae0cc97b9e52b5201759aacc6de5 |
|
MD5 | 07516f2139ec0b82ffbf1047d18a7608 |
|
BLAKE2b-256 | 4f970b271c9e99353e9cbab712546df988f1758195c243a0c3ed3b47a825268e |
Close
Hashes for cdk_lambda_layer_curl-2.0.795-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1eaa168d3f6f0e0343c5d9bf69a891d98d5e2a657f97a4aecc778c3d48c75c93 |
|
MD5 | 1584cb9f7e6e8fb775ff8426c3c00f24 |
|
BLAKE2b-256 | 33eb13ccc4be102f52506f3107f38a9f418020808ebb3e8f0d139d2baa491953 |