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.658.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55aac061438efd4531fd0e28f951ed87096934df7a83b938f5031958f8038bdb |
|
MD5 | 097b93e1d4eba7af5e67c0e1ece7c956 |
|
BLAKE2b-256 | 6d9712373c88f43567974bb2064552687c2b3215e360cb5aeb797aae903f840c |
Close
Hashes for cdk_lambda_layer_curl-2.0.658-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94a0de42af06be26732d31097a29f0e25b3a531b08c24c86f35028a414b96a57 |
|
MD5 | 8a5f0f8f926e88901756af9d6eaa3c56 |
|
BLAKE2b-256 | 22783612eea9f2967d887186d22b5000fbfa4e74ea0a714dcde4579a6f141a9f |