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.170.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37bd707d59e933fed46150db27507fb59b07e33ad311a5a3d84e47d81bb4a0d2 |
|
MD5 | 1f2c9579f13aa1955dbda6aed93c1314 |
|
BLAKE2b-256 | 476cd94ba549f3d47e2d5d59c38a591d60a68163742c17d6620444ed208a592c |
Close
Hashes for cdk_lambda_layer_curl-2.0.170-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca1a156fa13f295dc35fcc0a66a74815d7a79f231f1b7f25e064c948cf0ad68f |
|
MD5 | a3f4882de7480b1021aba20c38e7367e |
|
BLAKE2b-256 | 18c9102e3493475b716ef4e72fadad3b88b02fa9c0c959831adb0744cd4ce280 |