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.672.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6f54604f7960e74c335d1e658d98359358252f685a5346b43edc7fde1cd1390 |
|
MD5 | e8fa9e9b7871fc086bde3f27b8bd48e7 |
|
BLAKE2b-256 | abd32f3d92d2f9a02f1ad6fe6c9a38a44b74a6c79f9145149baaaee54a303d5c |
Close
Hashes for cdk_lambda_layer_curl-1.0.672-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76e2c0ee8752e8074f23d95b4d492142fde75bb5b3c98cebb516cc29e7363547 |
|
MD5 | 5469cfdf009c52c0e434a20bf753c78b |
|
BLAKE2b-256 | 08e083005d848dae88d3f01e6722168d9f5205c91dfd875797702c1c0c968efe |