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.585.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d3445b6763066ac6c9afc58771027599c29931d01dba5668fae8551b70c3ab8 |
|
MD5 | 96ecb86e7e6116b8135c3c083ce34eb5 |
|
BLAKE2b-256 | d0a3e2eecbf48c993f0481590752e22fee7a68731c57f1f2a1d7cd42802e1606 |
Close
Hashes for cdk_lambda_layer_curl-1.0.585-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aaaea6116deb034f524857ca04161909a7056ec8d66485b2bdb5960c25a72ca6 |
|
MD5 | 7ca70d7bfd558006e64e51b4cae4069b |
|
BLAKE2b-256 | 5660395e0c9ef9bb60620f946bd78230a149852b350146769418dcece61716ee |