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.64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 783161ed3ce605dde3a297a6114e7b931f163a4a12fe79ca1645d1b122773f39 |
|
MD5 | c3bae37afd667a7e7d823a15b0a09b6d |
|
BLAKE2b-256 | e4f05e08f0984f1f4c54e9ad5b6b175c951819c9865d4f5573fef9869b9da3e6 |
Close
Hashes for cdk_lambda_layer_curl-1.0.64-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 091f539ba492bff7f20d3d9fe0f3ab58827bbdcff413e7351692e7fc254b909d |
|
MD5 | df2567cc5f3e002a7381389c0486ae83 |
|
BLAKE2b-256 | 45b66eb71bdf490a878a351153becd653cf874955070bd5f7a8d24cce70a4754 |