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.319.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f98b455a86772b94d09234bf97608fb7e7fd5fb4fbf8dd799920f805e958146a |
|
MD5 | b92bdbb976dd8ae57d1926ea70042758 |
|
BLAKE2b-256 | 0844ebf2728cfe4f779baa8b20ad7c1633bba4d8776db7f843f5d83649fd304e |
Close
Hashes for cdk_lambda_layer_curl-2.0.319-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2879a87f50ab8735d2fc957e3558c3b588acc077486f6e3e2250cba582f04698 |
|
MD5 | 69fe9d1d83983b26c0da7aeba827856c |
|
BLAKE2b-256 | c5be23b74cbd688703ff750611ee706c512b8351b442af7467574f64e638bbeb |