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.548.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d32b39df9a688fec3b48daf79d37be70947598929d6d893ca68db9b9454a25fc |
|
MD5 | 4730381ff51f2a9f13ad840161d4d8ac |
|
BLAKE2b-256 | ba77e0ae3d6fac6a3296e2a3c62a0f3b83563d99a0c83a8cbc0330c2ca5b1b30 |
Close
Hashes for cdk_lambda_layer_curl-1.0.548-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c04b37a1bcb8021fdfff89600a71d5413bdbfda4d96ac7d352d62dd8ec94574d |
|
MD5 | 60048522e2d09a09686d80c7bee8d202 |
|
BLAKE2b-256 | 2eaf9d8b47920a9986261037257835f0b5ba45a2f1f543f2c5901e77ddbf5e1e |