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.659.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 501d4e3877950eb752d92f76fedc1750a209125a7f23f8e1167c577810f508b4 |
|
MD5 | 685e0227b3c36a7f26497e39774b8d6b |
|
BLAKE2b-256 | 731fddb18b12ae7cf6641f7b6ddca3ba3e836a238fbb8639d7e3c4d54ac9f403 |
Close
Hashes for cdk_lambda_layer_curl-2.0.659-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c24556b80d3aa21ae76cdbb2180f167555501dfc2409c8306dc769c0712dd0d3 |
|
MD5 | 3b032cddb8b05340ae8dcae7af128f87 |
|
BLAKE2b-256 | e994958d14076ccb29e4f699760fef365551f19299cf4c930383e9cb93d69cab |