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.743.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5bd38f57deb585507ae9b22640806375054073cedc5998d53efcdc3e53c2424 |
|
MD5 | 05339e7cd568c238b25847687582702f |
|
BLAKE2b-256 | 4c29cc388b652f8a538e2b0bdbbb1ab51ed65c89bf4dfabcf72c0a703f7aef9d |
Close
Hashes for cdk_lambda_layer_curl-1.0.743-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25c6c512af51e18946cf430d7b0fc3a872ce9b719280b79ebdba6edcf18df343 |
|
MD5 | f30a458424eab1f5bf71a4f169560609 |
|
BLAKE2b-256 | 3f1af7cfb92ccc7e5efea9cf308ea8bc237a65efe3cb56e1a35c57629697d042 |