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.296.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b360e1c5ca796da82026eb9fbb09f9b2f3a4f67f4601694ad584b1a0d5dcbe7 |
|
MD5 | 749ee7725a08408be6892ddb351c4837 |
|
BLAKE2b-256 | f719724c45566e6542e2ed480012a945ededbfdcfc84395766bb24a95225d533 |
Close
Hashes for cdk_lambda_layer_curl-2.0.296-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4517054ecd4a65ee9d5b0f1411bacefb35fe240aa289b4fd587188b54b41de89 |
|
MD5 | 39f88e0b941b8df903684383d62cde47 |
|
BLAKE2b-256 | 028e2dd5fc876a2d8dfe75c65bb2d864b4118416bfe0ebfc51266bb68d0eff7c |