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.746.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d35193e8c884dc7022a3e92bcc764ba694777b2d2ea2f994149e1ed3ab60036e |
|
MD5 | ac5c898f715b27a7d646cc261177c8d4 |
|
BLAKE2b-256 | e61328a7d86018c57a0ed8b042a285d554128a98e68925e2130d907a27703368 |
Close
Hashes for cdk_lambda_layer_curl-2.0.746-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63c80075d581ee6feb816fb1c6b10dff4b6542f3f706d0ea1a004d48b5117d94 |
|
MD5 | fc9c70aec9bd2dce207b493f5dc36633 |
|
BLAKE2b-256 | a1727dc4a7550b6fc7ebbe34523f97e273e22092fe7c94cb0e3c3216c1a7e886 |