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.272.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdf493be8df98b0ef1e7ec9c89316f59bf7bb52ecde2edf461751d7b6091403a |
|
MD5 | 8ca78cd2205a9ce16d31897ad917ef08 |
|
BLAKE2b-256 | 29ebe310c3737c98d4596bb5cb2a3e6e8f1505ac711c12eaea0ab2f616533aba |
Close
Hashes for cdk_lambda_layer_curl-1.0.272-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e294e599ed54da5257c2b14f1e21a5c35a140cf604070123737446c6d2b9bad1 |
|
MD5 | ad3d6f1d1b78bca80873553d5435dee2 |
|
BLAKE2b-256 | a1f7392e2b0cdfbd7a2357db4ea1e5c6b00dcdfde2fea335f14676dad24b1ea7 |