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.651.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 615edd840fcece5bd5cb5bea2d99541b50195fbbe1c84bff8b7a17f4355357e3 |
|
MD5 | 20d654352d8c77df42bc8b57d01b7cd9 |
|
BLAKE2b-256 | 534f582f76935d16298363cbafcbc38271df708a15db574118d542b1738bd6ec |
Close
Hashes for cdk_lambda_layer_curl-2.0.651-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fef9aeaf1c4d002dc69cb477c3105abc2f52202b646885e31c1379f8a644298 |
|
MD5 | 4a66d2c611843340b9220a78c2f06747 |
|
BLAKE2b-256 | 3d22da4bf899b18a60775a1fdec1921dc8fb64ac84866059a74a83ca2720b64a |