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.57.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c856680ddb69d484b076c598075b4dd67948014ab8b8f6d0bb4c2a05b80fdd4 |
|
MD5 | 0e105af7dc2c908336a8af6469d9cbb1 |
|
BLAKE2b-256 | de3eb0ac90aa9bddf373d00e3e23fbff6d638a3a09dfd42d792ae4f91a71310d |
Close
Hashes for cdk_lambda_layer_curl-2.0.57-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69357c27c6a81ddfd09be4cc6989694ebb6fb6a12f2c8b581851f98726294052 |
|
MD5 | c6ae6378359be981d75cadb077069412 |
|
BLAKE2b-256 | 571e4b5f83ddc65ecdae0dcc8782729427b01f3ce2ec18a57b1b62a388a908ae |