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.554.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01c8d533ed9c27b91e11aef29a2ce07446a89d3534dc741b88702d0f6ad4e738 |
|
MD5 | 6eeb770d09f8edfe8feea0b36ae876a7 |
|
BLAKE2b-256 | 49dbe39c3a047abb0044c54f66ba3a6e269d9bf62a6be3499afc25b0a036b210 |
Close
Hashes for cdk_lambda_layer_curl-2.0.554-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd1120f7c154507f48735fca089d39d060ad82cbfbe1a78a98aa2c5643402fc3 |
|
MD5 | 609701292249f6aa6dbf19c7ea7c392d |
|
BLAKE2b-256 | f755f337c0cd9397415fb2d186ed2b8ab445fccf7c21de306f4cb829e4b9fcab |