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.370.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d44cd4af0ed89e65a8ee8ec188360570ddecc495e47e353a6e339a8cefc0cf72 |
|
MD5 | 5e6f8a513e0eae6ad24bab0da01850f8 |
|
BLAKE2b-256 | 043409f8030e49351694f18f3c9275faa8dae935c7257be77191d6f0863ea0db |
Close
Hashes for cdk_lambda_layer_curl-2.0.370-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86678a5551e3e2c3079e887c57b416625a0a2399e783fa0ce6581b7e8a6e8524 |
|
MD5 | 5de0b936e491ab289dc33aec4c02cd99 |
|
BLAKE2b-256 | c2f698928c232bd5f895ad053cef09192367235ac6288cabe2c5ad358520be2f |