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.679.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3eb436d4041d0d8d9243ced307cb7168edadd51d97e54ed5657352b24a10e679 |
|
MD5 | d9e6da91595aa26a237f59bc68940c52 |
|
BLAKE2b-256 | c2baab399768721ae046b86c5615a6a804dfa4fa92187fe93abea550d18f67c4 |
Close
Hashes for cdk_lambda_layer_curl-2.0.679-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2f308cabfbef3c2b5af5aaa06116c65b99cf399e4cdaa5cbf730dd613f537a7 |
|
MD5 | b26d14ee69184260f559c94ebc616043 |
|
BLAKE2b-256 | 354caebed577d44d09fbb65618d9fb2a0f2e4ecf7168b5c25957777a049f5f24 |