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.352.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72b9a4d45361710e2ca53d2aea6b07191bb48fdf738708dc816b815748890df4 |
|
MD5 | c0f351bc8b1205cdc71be7fb5d629158 |
|
BLAKE2b-256 | 4fd391d14b5fc2d5960655f13adcf6f5229f4a7421aaa9d24f598d3bbd0d7d2d |
Close
Hashes for cdk_lambda_layer_curl-2.0.352-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5d09d07f53b45f754130f6232c5fc63a264ab214745cc18a7f6761d34ec0b06 |
|
MD5 | db66506507e3d2e624d2c53c5e24914a |
|
BLAKE2b-256 | 963f505b0498a990d8b2eb29bc07583bb412a6509f5d78096a683127f93b815a |