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.677.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57cb34368e1bb0d75a498f6a31fa73b1b434ee79fffe05d0080cd756e24d4f9b |
|
MD5 | 1b142cb6a9ae8c6a376497add7065772 |
|
BLAKE2b-256 | 109a7581abb7a1c6e1f940ce9b928fda5f89a51a98629b6981605735e966889c |
Close
Hashes for cdk_lambda_layer_curl-2.0.677-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1fb2de90bf9caef30fe074d47d38ea3e1543fd5ba9e24af3ec141e26c6712a6 |
|
MD5 | edceb3e82d6a501b4eaef33430b98bf5 |
|
BLAKE2b-256 | 1d9a84fb9084fb34c4767caf46a6b97a76aed780687c3a5f7d6930de693feb68 |