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.692.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8443858de4cde661fb08528c568546a5fef5c2e60b2e96fa18b1e89ca02218e |
|
MD5 | 4b89851a5766182980064b6c1a35b6bf |
|
BLAKE2b-256 | 6c59d3fcb25d0bd1a28cd40a5f2fbe62d64042cd5a95dd600c96ea79ae6cd214 |
Close
Hashes for cdk_lambda_layer_curl-1.0.692-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78715726b672798a285587b057c1c32a9f7e9b08f7f7dd18dba845e4f31d0955 |
|
MD5 | 49e40b2a61b36413b0fbc58caf21e4fa |
|
BLAKE2b-256 | 492c694d175227f883cbd46f11f51a3d2752933882367195e5ea35f18c8e1ec4 |