For lambda layer use curl
Project description
AWS Lambda Layer with curl
Usage:
# Example automatically generated from non-compiling source. May contain errors.
// 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'));
# Example automatically generated from non-compiling source. May contain errors.
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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48ae201e00320d59dda65bad5bff4b9b3052504a662927f496ccc02da44cf325 |
|
MD5 | cd8df95b1ec08e0d3f7d8bdfde99d497 |
|
BLAKE2b-256 | 3c9a866f77a489d577ebbe57d3f8905fc1c3cf467d03e6b559811d239a5c0a52 |
Close
Hashes for cdk_lambda_layer_curl-1.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 410444a202a598360437ca0d73d26fbc3889cd4eee05e6d4e621709573e19c26 |
|
MD5 | fc3af6d060504170e23c896b440fc7a9 |
|
BLAKE2b-256 | 862f7065a0a05f5f02cd569f2eded2f9eb77634d05fb767c81dea0abc1fe2a1e |