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.402.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | edba38d8a5ed23267939e5cb0576d91e3e575c087fa2f26be90576c67247b581 |
|
MD5 | 209e19b7865ac1cb6a8e2c0dc44b3124 |
|
BLAKE2b-256 | cb45afc7eb5693c7e08a8cd8d65c83e0b2771a22c7fbd79f3b62071b2199e6e3 |
Close
Hashes for cdk_lambda_layer_curl-1.0.402-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 186472876c54d1e6435e59fd9ab34401b062c2f3462677d1160e42c298e3ae56 |
|
MD5 | 551e97699680559ef014351b003d23ce |
|
BLAKE2b-256 | dae2898b56dd3e3d759f0bdfc91bdb67562bf1d90b6da50ca3f5ccdfe83f155a |