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.783.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 309d473e746ea76a78c6ca3f63e1fb44446d76c3d369d7cab31ae2b61bb8fca3 |
|
MD5 | 4b4297744d68b2df3118f7dee2e70205 |
|
BLAKE2b-256 | 27623c97645d0e821cf671e6c918f8a5ec89b54d4f84d8aa1951e330ba8ddb60 |
Close
Hashes for cdk_lambda_layer_curl-1.0.783-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad279b6afc113f09dda59c1982ad3e94022ccc01c80b94b55181cf0f56790609 |
|
MD5 | 5b31f6b84432ffa7ad815f7892778a3e |
|
BLAKE2b-256 | 21db2a9aff9ab6626c90ae557a9a19859df48d8426b52dc0e2a48169c5c3cfe9 |