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.590.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ec80e15eba946da9818eea11d51a6c561c5ecbc2157a7ea33214953e7084d99 |
|
MD5 | 38ca79c199703538376ba75612913f71 |
|
BLAKE2b-256 | e2a72cac5bec8c152d713bf0e7cde9be07641639594e7c22eb5d32c99840d246 |
Close
Hashes for cdk_lambda_layer_curl-2.0.590-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab0d4d61bb97eac6230d2a82399e4181d9287e0f76fb122177d611c48d091ce3 |
|
MD5 | 8a2d9da79efe38e7d137c3fb6c832afe |
|
BLAKE2b-256 | bd7eccf5f09c30e0c6a5d7a67653c3e8da9af1b79b02fd1b856cb35554decb15 |