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.427.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 359001a8e14f5867dd8e2624ab93656704355a49af1982ad50ffb705fce2f74b |
|
MD5 | 13f44cc465a5988c231ea4f6daae774e |
|
BLAKE2b-256 | 001d44275a28a716573a17ddb161e49215f1f47bd2eb364bd8d73922df2fde93 |
Close
Hashes for cdk_lambda_layer_curl-1.0.427-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d882e8bed81d0e79ce2e5b56c8502905542f0f31235c6e06e92e42dcba6b88fc |
|
MD5 | 6b7149beae568e922ae005a3169a6a4d |
|
BLAKE2b-256 | f432aee1c074ddf3c6f2ea536277fcbd7969ab63319057f3f36ab813fa9788c2 |