For lambda layer use curl
Project description
AWS Lambda Layer with curl
Usage:
# Example automatically generated from non-compiling source. May contain errors.
// 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'));
# Example automatically generated from non-compiling source. May contain errors.
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-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 508543d8b6eda18d5ae05275a9110b165625dd10a903c6908db2c8608976da94 |
|
MD5 | 3322bc71d9499d74c6716d987ebd0b63 |
|
BLAKE2b-256 | f0c5255c41ef4bdff9455ae8c3f1551c6a32cfc409b85e4495192b2d70eb4df7 |
Close
Hashes for cdk_lambda_layer_curl-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 875ee4fd8cb703275a2178f4cd5130d84d8548f474b3e8278a435e574d832318 |
|
MD5 | 29ebdf2bbf73b0c8570e2158c5884d39 |
|
BLAKE2b-256 | 9aaff5e31ea78472b3f9e98a65c8ebc13433d603af9e5eb869c8f13c56ab68af |