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.386.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fbc6c185818ff438248d91d0f6a5f8eac58ec2a243456902391baf7986cbfc7 |
|
MD5 | 6d4e03e804053600458e3ed90d5866e5 |
|
BLAKE2b-256 | 03e72bc9a485820ec7d0dd64698d71df0d5b219bc953ccedadd507986509ed71 |
Close
Hashes for cdk_lambda_layer_curl-2.0.386-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb27faaeb2f6f92afe9c872510ee50e7471a0e2d62a327e5820e1088d7a3d0f2 |
|
MD5 | 9112d2492aefe083561085fd025741e9 |
|
BLAKE2b-256 | dad78c1099f9cd95bf45d7a946cc1bdc075997aa8ceb24f9f8c6b5966386bce7 |