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.472.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75e765564edd129914e6da68ea1c1da53a27469cdd42dacd28b3cc5801bb7a98 |
|
MD5 | 882744a2dc8bf5e0839a5791fd58dfa6 |
|
BLAKE2b-256 | 2abdcbb8c2d8f8cf358bbe0c6a3a91622c2398c378cbdb5498bd623a526f6ef8 |
Close
Hashes for cdk_lambda_layer_curl-1.0.472-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06a39a62eb79f8cdcea9412455146ae36bb84b3a16813a2d9f9c9ef0225475a0 |
|
MD5 | 28009b4301cdf3fa39b50bf1c8c9d323 |
|
BLAKE2b-256 | fee6b916b87943465fef8babfeab71c188c47e58eb2d4acae7f5c462ce306d2c |