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.18.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f97a76498b349752854897b2c96b6b08b6e84c3ba4262c8281a89152f51a4b0 |
|
MD5 | 5f3b1594a30a9a9622381ca7fb38077a |
|
BLAKE2b-256 | 65a677abd837e8864f95bacc6ed9d8d47da355e2c38734fa8d5d1fededfdacd2 |
Close
Hashes for cdk_lambda_layer_curl-1.0.18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99f05b90b61a6832f58e26d8abe8876933a74b792f29e964e2e3b497842acb22 |
|
MD5 | 3e6a0a2c1513db0a7293c608a69aebb3 |
|
BLAKE2b-256 | ee5dc5d872dde06fc9dd302ef316147cf08fdbde01c302c2cf2f01330835ac93 |