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.523.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5601ddf3fbc6af36576afe809e51470ed041c2ed2e2350983f03e7b9786ec91d |
|
MD5 | 868aff9210a055ae66fa3b48a4d4cbaf |
|
BLAKE2b-256 | c44c41ec6e2ca53e2d831c1a24796973ab8a2f36b79010b2a038ef37b3b69a46 |
Close
Hashes for cdk_lambda_layer_curl-2.0.523-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16a6e67d9b59b3f3a4236f7ee67929709e735bd7cd09df4cca83071ff7e66ac7 |
|
MD5 | 471a773d353a71c38204c8dc3ae56e38 |
|
BLAKE2b-256 | a442287cc31892575cbdd4e46106c8e880eb22c3306e3f7936257617d902e6c5 |