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.377.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70c5f4f2fc091bc6c2914d267e223487cc9fb30326b8cc62238f8a7549382686 |
|
MD5 | 212aef6df3de72def132ac5c9324cd06 |
|
BLAKE2b-256 | d6d9f662f7898bc73cb76f68e29b565f444a3c09c4447f4dbff194f1218f5e7b |
Close
Hashes for cdk_lambda_layer_curl-1.0.377-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | adadb51ecfe9eb11f50a1e64dc5af6a5a0075c45224114bca79d5e819f89d967 |
|
MD5 | 34df971dd59ad2959c44dd6247502a09 |
|
BLAKE2b-256 | c1f7d192243ceec5f71c062844ade5ee1ca8e49abb38ece52c114914d19c5abe |