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-1.0.464.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e62017f9c8af15f0e42838ac660156e0f731bdffb0285be8f092db736f90e62 |
|
MD5 | d73ceb6725a85c44bac9cd05923577ce |
|
BLAKE2b-256 | a278a2f2d93265e30507f55cfc2409a9ba2de8e92e153b76e489d66b60ac7c6f |
Close
Hashes for cdk_lambda_layer_curl-1.0.464-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0428adaf1d785ac1b7313cb77d4f84e66bc2536a2250f9315524f203f37c124 |
|
MD5 | 78c83d602794e85c658c68e92fe85050 |
|
BLAKE2b-256 | 7fba5ea423493672584c3de95dfafe7247e0f9a5b6bfd9cfffcd805e70bd2a3c |