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.716.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74b501c13b72fc23299e881b6a48ea9e3b61d0b7b4ed321b02286cd18e653c4b |
|
MD5 | 6ea6ad2bdd67c46687bca88f38cf726c |
|
BLAKE2b-256 | 5af7db34b07fe8aa2b1e3c3e0176235d25423355d4b633d8726cc1c0987f94e7 |
Close
Hashes for cdk_lambda_layer_curl-1.0.716-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86ba87e48ce527160ba74884664a71d399e0ef9fdb2e29eb39aef74584510044 |
|
MD5 | 7baec2ef00b31b91cedff4bf31dd2ebb |
|
BLAKE2b-256 | 854af985bb32a3f589e58974ecf9b041440ab00288550447d9ca96d60c86e3e6 |