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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00d4d45cbb2626775e05930113f839275339c98b5241bb18f07ba1c5144d76aa |
|
MD5 | 5025ee949d742d0eee97142232c626fa |
|
BLAKE2b-256 | d7f7893cf0fb9e18883a1ad2d79ed5624f33f70b1f271c82c9343e25333ae2cb |
Close
Hashes for cdk_lambda_layer_curl-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25eedcb68067cc38140e74cf79d927b03ec2c717be8df9bf4dc2a7805a2275c4 |
|
MD5 | 8fb1fcf7e16c5fe22147dc5e6a2f1061 |
|
BLAKE2b-256 | 3e5995bd36ec0d33f5d9ac3d3185f98c53896caa9b7440f82b4b8ff49e6f57ad |