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.629.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 161a81e9e107aba11390f6c17caad3ad5f61b3e6fd9806675a3059f277b3bb2b |
|
MD5 | 4e2750bae11c1d25240c99b8dd4b1a91 |
|
BLAKE2b-256 | 16bb9b149c2eff4c54ab9eff091167b43458dd805dadc9b7a00ecac447c362d5 |
Close
Hashes for cdk_lambda_layer_curl-1.0.629-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 517f35b15ba9e824056bbeb85f205867bcb5508dee38d57fc43c13708d6ad4da |
|
MD5 | a2a5e116f968aba2d24cde373ee2d2c6 |
|
BLAKE2b-256 | f80203a13375afda32dff6f95e401f96fa130e5ad86341efdf68596d8d89b842 |