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.235.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0fbfd04e1748aa0a48a58bdb88b008fd170b4db62f2c03da1b120461aea1442 |
|
MD5 | d0d46be3525424130211e28d9f6cec7a |
|
BLAKE2b-256 | 681e7e9ce3062a063f419b015917e624b09a57fcd88ae92615a6b8e80b46bb69 |
Close
Hashes for cdk_lambda_layer_curl-1.0.235-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b6ea3ddfc3fd4ee4447e73ec6b519c1cd19d4785b25a11d4de176368d875e08 |
|
MD5 | 0e3dda317b2d398153c6bbaadd62af70 |
|
BLAKE2b-256 | cb8c1cb509d1ca37f648baaaab1bd9bbf992779cf547174cc03b3ce6a024246b |