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.233.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fabca6efda57bfb674a4a59082452889c8e6de940240e42febf87689b8233d5 |
|
MD5 | 7c47d80da6355335a9b42ed4e4c4c77c |
|
BLAKE2b-256 | ca61d2b235488ecba0aa4a439eb69f49565345f66c0fee9a942c4d4eba19bfc1 |
Close
Hashes for cdk_lambda_layer_curl-1.0.233-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4bcd0b4e2ebd26eaad82d61ec7248fb5a6404ad32f45e716ca8adf0849ea72d |
|
MD5 | 22dfe414fc8f04b3ae25ca3036f80694 |
|
BLAKE2b-256 | e56a8bdc406d6287391c015ea32a9da5d0b601dbb5d3d884d91ae72aed5a1aa4 |