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.465.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 211f73ff93bb881cbe707bbd0c6419470709a7982878f9fe274646ad5ee3123d |
|
MD5 | a3d508bc9d3064a0e5cc1ca761f6fa95 |
|
BLAKE2b-256 | 7acb92d965f3fa0a4e8a219ec0a150de87353121b52abed8a6181448a02d3133 |
Close
Hashes for cdk_lambda_layer_curl-2.0.465-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d88293bd0d7727b50ce9adf876cc67dc8ca89b7ecbc90a944a4da46408bd021 |
|
MD5 | 13f282dafcad17e740bcd65877efd37c |
|
BLAKE2b-256 | 73512f09c5e711c5446e53b646833c0c12267ba747144b212be10fb92001eee7 |