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.800.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4a55ac0384bd28e7e74afb49335feeeae645472d73ff88f47b927f34a3bcc72 |
|
MD5 | 05a419cbc8dbc1eee0e6b43a94a91113 |
|
BLAKE2b-256 | 6db2ba0e072ab6722f270b76d6b282a07023e44f1596ad041f90f3429ab7b4d3 |
Close
Hashes for cdk_lambda_layer_curl-1.0.800-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29579fda93cf691e49aebe985b9a1d18788ba08c65b9fcc83230552d79f581eb |
|
MD5 | f8e6272b5c20e92dfbdf17e9612561fc |
|
BLAKE2b-256 | a1bb7f02ece252b30c32162af0696c75010df361156567a43e2930f50d4eea2b |