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.404.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ec4db65762c9d7e7f0d157238b08fefae400c6e6d3bfdd941236b19a96457ad |
|
MD5 | 300fb9c3d44ab97c5dbb44df775696e2 |
|
BLAKE2b-256 | bca40b448c3c5172e4de0c5ad70e45c6d09d9c462c83d273c00be0e76c3598f3 |
Close
Hashes for cdk_lambda_layer_curl-1.0.404-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b2100c73aa36bee45a298972732bb8b01fc30b5a9ef6d011b963a717a51612f |
|
MD5 | ebfe5991239b4f146f779ca86e89457f |
|
BLAKE2b-256 | c019e535a30b5442b102ed3e8dee68d9e2152742b0b460f7c7e5db78ac124808 |