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-2.0.12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | df713fccfa5823d5556283577c48a5b8a3cc95e5747a3fc65cc530e87a9025b2 |
|
MD5 | 498ec54fbad12ff090d09926d5bbbb52 |
|
BLAKE2b-256 | 036d25307f3c0fe34bd6b0fe2ca89fe04b25d331a80611d2e9aef57c044a46b8 |
Close
Hashes for cdk_lambda_layer_curl-2.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3ab9cae3084f16f488d1a82e3ac2ec29273d53966aa115aaa55ef5c81f759a2 |
|
MD5 | f84f5674035a899a60ccdaf2f2c61742 |
|
BLAKE2b-256 | 059e2b76927a5352baa8c6ebadf04fc2f69bc729fea54ca5b68428d38f8df2eb |