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.124.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32491c497239c1883d42c93bcaec74928c6cbac45217d217aae9a6d2ca87e3f0 |
|
MD5 | 959eea5f7aa2cefb5774f0b6bf5cdad1 |
|
BLAKE2b-256 | 47014a18db1923b828ccce1fbdedc8659c4d4b55947c67a72560b83b9e1d8c99 |
Close
Hashes for cdk_lambda_layer_curl-1.0.124-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6dc0e6466e3ce4f45f9588dc161adedee560a6ccea36f59fb8b3ffb906f83ccb |
|
MD5 | ea772bdfd7ed881bb05ddf50f28423a6 |
|
BLAKE2b-256 | b54a653df456464b5ea53df972bae54a48516c24d5e39e2b31ae194b0a136c2a |