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.809.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8567a02ddd73820e8dc60f4d1657a688fe88fb80c3eb1920544250344fa16b8 |
|
MD5 | 6e1f0d9b24245dd0486cf3e9d03c6b0d |
|
BLAKE2b-256 | 1945ebdda6fef786247700bb934234756ee05976f5ea21e60fc9518bbe8f6178 |
Close
Hashes for cdk_lambda_layer_curl-1.0.809-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f2ec35af4a3db1f5d175fa370dbd889380afa1ecee3cf9911b6390f5ad9d944 |
|
MD5 | 7e8da085836aa4034728a1a385655f8d |
|
BLAKE2b-256 | 55fc8e5f8dec3a5f65f80c2c3dbf6e1fc4d261141bad9edb1dff03874815f517 |