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.688.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 798b8bae00a1e76a9dccc0471b1efc62b32111063d08c034d702481378563e90 |
|
MD5 | 6ac775e49a7025cf68d9fc892199ca27 |
|
BLAKE2b-256 | 6b93eea83d6ad97c9459dc8ac289eebd35b4227bfee95ac70e768fc6c55e5516 |
Close
Hashes for cdk_lambda_layer_curl-1.0.688-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b10c0b3b5ab42c9051067b249b2782e61d34107e9f83f15272d2b139a02e19c |
|
MD5 | ef7d4b62bc9a44bb56195a0ea1cb61cd |
|
BLAKE2b-256 | e4bb439e43f918e0b4cbacf025b34d0b4b8b7ad9b919431b4f3fa1adc9bf20b7 |