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.569.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6874d522dbd4bd0777c7171c0720170b57e178c8a835e06d0540dec455960ac4 |
|
MD5 | 54bae9dd75e3e6a6cf09a55af867e61b |
|
BLAKE2b-256 | 621b659fb97d4509ba5a8f18643cc1a4479832c278485a5def5d2ffa4f92cd75 |
Close
Hashes for cdk_lambda_layer_curl-1.0.569-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4704e0d8c4c5b2fb3f78fc81299286b4fcbd93e1a874ff0c28f9b3dc9f2c450 |
|
MD5 | b511c04f7575e7b5078d0570b7a812c3 |
|
BLAKE2b-256 | 5eae88690467847394d6fec73fade3fb6a3c667c1fece39872fea24714cf2ac2 |