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.547.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d5fe65ced937be83b2c77d1a8100caf5cce5aa4fb7a33f97fa395565e24c0d9 |
|
MD5 | 936fc085a909fe5c884f5e23e579239b |
|
BLAKE2b-256 | 5838695fb325ad9f832044376c02e4e268275c6fb213801c614559a467962636 |
Close
Hashes for cdk_lambda_layer_curl-1.0.547-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1200ad12e6df8224c725f97b0ca559c21f3ff82b5e000d44832f583996e845d3 |
|
MD5 | be9591cae222221c8fca2cf2847f0eb5 |
|
BLAKE2b-256 | 1abd85d96e5dcdae4df54cbf46656f0f7bccac8ad6095e7bea8ae6a3011aac13 |