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.544.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93124318c9b2074e1f87163fe5f0851820d2ceef13736930c82c60085d25b90b |
|
MD5 | 268ea1347f7f50325a39e0e8ed172609 |
|
BLAKE2b-256 | 9ed81a7557162e3b2cf48b3c3e9f05bd31959dbe7fa245c8953b878d970ee597 |
Close
Hashes for cdk_lambda_layer_curl-1.0.544-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dc8052440d66ecda0bde8a5855f87b50f7dc836ceb852a80914175d355f028c |
|
MD5 | 4e35df97900ace389f9f37624d2e710b |
|
BLAKE2b-256 | 0bdcbb8bc5c1a74f702bddf3dcc9c1bf92d07b6ee8c5cd735e330c13e876fc4b |