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.187.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4da82ecb302c5b04df07e71266d17b8ddb7f5f5e83bccc0c5bcfc644109724f |
|
MD5 | aea36dc0ef84c5b02eaee9b23b111b61 |
|
BLAKE2b-256 | 4cac62631c81b276bf1684b4d7933134860e14788d43b1bcc6a015a34b251033 |
Close
Hashes for cdk_lambda_layer_curl-2.0.187-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43f9ef2f58976b2fcfe3e7e419dfd993c564391dda5afaa072e7457f6cf2af39 |
|
MD5 | 146da837fe5af36f0b678a0259677f83 |
|
BLAKE2b-256 | 61455df8a2af04220356a5fbb62393d0cfec0a699889e4e55fbde0626495ac88 |