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.247.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 643515eb19e534a829a62040f5602cf163193ba2f073e714cff290734cec6034 |
|
MD5 | cd843464ac18a13dc49d25195f316a09 |
|
BLAKE2b-256 | 44556df96c62e47e71697c0340d916b589ba30f29dc7128136d63fca6047985e |
Close
Hashes for cdk_lambda_layer_curl-1.0.247-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a829d48890361346afd0bd20aa1a63bf9de60491220169016d0f09a16173e0a |
|
MD5 | fa1c5fd12649c0e24450408d4f624de7 |
|
BLAKE2b-256 | 699bbe491b33b2a2e87b6b4e8106581306b7b6ee8519cd72b893dc6b04552e42 |