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.490.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8d276ef5401407012b12d104476d60fe4e10dc4fc2d1e561c410175ff8685c2 |
|
MD5 | 99321ac47ed757e8bc2a3873176068ef |
|
BLAKE2b-256 | 8dcc8fba23dd8e708bdc6307e06dfba9712622b5fd813394452c73f79293a935 |
Close
Hashes for cdk_lambda_layer_curl-2.0.490-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca6a704ebfbf35869b63b1f76985875224924ba78a208eb36db8dbae6ee7f86d |
|
MD5 | dd9acdf82d2eaee2a6242e577cee9895 |
|
BLAKE2b-256 | 77ff2c01cb235d96b1745af8d863ecf48089eeb9822591e39104b449e62929f0 |