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.732.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 006554b32ebd743c5740f5fd4c4daa3d4c1a8653f51a22c86b7841557c1af5c7 |
|
MD5 | 7a8010ab66a675ef38bba90ae4f0a2c3 |
|
BLAKE2b-256 | 5b7da9138871e6ed57702b6e3376b787740c761795a044df5a1df3b3667d31fe |
Close
Hashes for cdk_lambda_layer_curl-1.0.732-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66e40a2c19f21a9ba39f366d9f81d51dff657554a946ab3a536f6976c8648d45 |
|
MD5 | ce4a16c38997a3a070b0eb307c7c0839 |
|
BLAKE2b-256 | 378cf99e43f1f976827e7bf76bfb47a4c4799bc0c8c6775541acbf0768befa0b |