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.297.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c15f0b4e1e51cacf16cbb605227724797476f708b101ff8255050eb5553019a3 |
|
MD5 | 780c18e7ebb04b09dc097b754dd4303a |
|
BLAKE2b-256 | 2c6c849a09b5484b3ed5006884f2750847d3da9ed87e569ce8289d332af201df |
Close
Hashes for cdk_lambda_layer_curl-1.0.297-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2918996c212659184c10c5897dc3d60655c6c9b2c4cf7e0da5f0d22ad25d948 |
|
MD5 | 0c5c5c29913328c8ca058076fb52d7bd |
|
BLAKE2b-256 | 2f345e23519d494f7fcbed3de0dd596169b6b789bfbd1cbd27ab8216b6c12759 |