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.529.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85d30580f91a537f4b9caa34f5acd06b9ca3717c9c87e907d9385078f6e7e535 |
|
MD5 | b26d510d0dffe1ebd9d1fbbeb1fb560f |
|
BLAKE2b-256 | e32d3efa5d8b0adf856ee0340c01aff800d6cb9da423691d5eb0f7f5af0603e4 |
Close
Hashes for cdk_lambda_layer_curl-1.0.529-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cc2bc12490a303a31e76d6545fdab1a35c631cc5d814416c792586c1a19c3f4 |
|
MD5 | e4ccfb13b99d90ad0628fa7d362f51d3 |
|
BLAKE2b-256 | 1cc00eacec72c3090c6e8075d6ef31bec3de1b67ee70fd5bf202598f034f2c7b |