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.827.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ecdfc879361ab91b023306b1e8e1efb5652203f040114a442e1c6f3214bbe8d |
|
MD5 | cbeff68943fd0eb4d9764c8b5356c56b |
|
BLAKE2b-256 | 379f025d16f319fa91d7cae0736234fc5e8066356d2fe37af7fa1fa6b8c9259b |
Close
Hashes for cdk_lambda_layer_curl-1.0.827-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12179b126e69fd2f7f3cc42bfaba7ab43331c33d36431b6ba6c13c1f40b7b134 |
|
MD5 | 1e7d863e36a64043e979ce20864ea257 |
|
BLAKE2b-256 | 933be71adbd03bb77f838e72871739141368cfcbe6cc166a60c58df223860abd |