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.461.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8671792f0ea7001f32864f213ea650b6f60527d643253d98db3c646e8f12bc0 |
|
MD5 | 78772833562ea855430d9439eac0fc90 |
|
BLAKE2b-256 | 55ab07bc04f95cf474aa391f2658b8d2917d17bf260ea33b669933831f075af2 |
Close
Hashes for cdk_lambda_layer_curl-1.0.461-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79ddb00f942c5f7716c177508638743e474e2921b87a50b30d2268bc17c59f95 |
|
MD5 | fc20c8a77aad753972c205934090263c |
|
BLAKE2b-256 | 2d3a0667ad2c3568718f5cc6faf0f5d9aae7282d12da5f9a24f63d956552c814 |