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.502.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d682da879fd94a3b31a0e219f2d4da9e719b04d0f0077734ebfd0d36769b5fb |
|
MD5 | 81e91826c6752a08d7ede7d5166a07b4 |
|
BLAKE2b-256 | c2b24854f6a77b06de410f89c109abff7c3d549fc46a11afb5572cdde1d56579 |
Close
Hashes for cdk_lambda_layer_curl-2.0.502-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4acc214f42ba4639938f8ebc6aed687b8c6cde1c9789b9de36b0ca0c90808638 |
|
MD5 | 97e75989fb65b51f8bd305fe56ad9c34 |
|
BLAKE2b-256 | 0b1294cf9abd426671596e5fdb80d57a81458092933addec7781e4afa71a116c |