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.200.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba8df3ab164be41e95d1de01a1d9c56e442f4ab7b2ce1c9bdaf567b84e589dfb |
|
MD5 | f1464304f070544b1898009f8feeccdd |
|
BLAKE2b-256 | 80c58208e1444967a395d3dadd881b12ae0ccb8e3cda69ac60860be55ac88618 |
Close
Hashes for cdk_lambda_layer_curl-2.0.200-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b3307fa74e9daafcc1c05be85d806158457c987bd57b00f8623548b1775bc10 |
|
MD5 | cf0281d21cba20c7c2133499eeee0316 |
|
BLAKE2b-256 | 0f6e3aaa0702fbfc0ad4ea9e3c89b14ac01350efe3753daae47ed987ef7ed47f |