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.793.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d44007a209d13932dc5fc4c03cac650b94627116e2ee4e7200c21e72eb1625f |
|
MD5 | 00088538c7734c3206a3803b83a6a145 |
|
BLAKE2b-256 | 575d062434bd64237a0b02bf55fed8dd630282228345a7ab6e5c364de991dc86 |
Close
Hashes for cdk_lambda_layer_curl-2.0.793-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c815190adf7927d879464e6853f5728fd59ff6466ce73649f2496cad84d7781 |
|
MD5 | 040ad75902c6bb0e5da9f9b89222552f |
|
BLAKE2b-256 | 9626d4b9ffb6d4397991acee4f78a0968d4859c57f09c84a71eba6d6ade8090b |