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.255.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e5ba8da3a38b5b151026def2c26dfef6a727dc42ecf6f3748e74d1665e305f3 |
|
MD5 | 7a6ca159d70084c777871e2c5863c909 |
|
BLAKE2b-256 | a90966d5e95c3caf57bdb3d0625137ff8c86e58ab35f83a900ce073922fb328e |
Close
Hashes for cdk_lambda_layer_curl-1.0.255-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84fa6f140288e30afb0f31eb2fac03b5eec0bd50c930afd70cac9c1f67ca6b03 |
|
MD5 | 0070bed4c79e7f4799dfa80ffeacf64b |
|
BLAKE2b-256 | 375a2f22431284fd6e8b11179769881a72b95a61458d4c7f6adecceda473a9c3 |