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.251.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20122b65ce0d12cd5429ea446a415938bca3124b1fdcb8c539a872bc35c939a2 |
|
MD5 | 739adb459a3dcadbe04590fa5a0a3dd6 |
|
BLAKE2b-256 | 3957883286f0c9aad40130ea2a04764b59ad5524fa8155bc6221dd0110bea5cd |
Close
Hashes for cdk_lambda_layer_curl-1.0.251-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f41f148800e8cd5c1b84e362240b2b9e8db608ffccde21ec7dc42cdad9dd03c |
|
MD5 | c8caa9ba4b05f779ab0d7900d709841c |
|
BLAKE2b-256 | 4bd2d488d844ae745367bc551f88d250e23bd54e0787036faea748ea69c8300d |