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.427.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5f8a309ca60f4410bff78f4925da95287d659d8ee6019c7b92464a1d38a04bd |
|
MD5 | a095b6ef486fb1fcf9614184f00f6a65 |
|
BLAKE2b-256 | e70f62ee04a6f3f817c9ac7471eacd10e915631889ceab6a8c7461032afa93a8 |
Close
Hashes for cdk_lambda_layer_curl-2.0.427-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb5a9692bbf9122960eccf09e9b45d412e6b946feb32fd7ff8f869e5d7af4bb9 |
|
MD5 | 658789752fa1f3640e2490983890b740 |
|
BLAKE2b-256 | 10aa8d8a9cf33baa5faa3f1288fb75cf1e2e28e54917206139bcefa3f7af8f5e |