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.215.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35efba1a87305c261bb833c2180e69a726827c90b1775457099c12a19890676d |
|
MD5 | 04df35be902f6d503c3e2fc0e1b9dd84 |
|
BLAKE2b-256 | 084a82637fdb296b1c09a470e4f7ed52ca898ede536160a5dd2e0fc533199d7a |
Close
Hashes for cdk_lambda_layer_curl-2.0.215-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f192ef233dd6998a141bee56e6b008bae7c3d95eccdea4bc9c01e6f1990c8eb1 |
|
MD5 | fd68496a242ec40862496c0b5e92ac07 |
|
BLAKE2b-256 | f03c1b5c275a416301dc014010e169e0924c1ca2205c2c23ce89237c19dd322d |