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.792.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e78a567a878b1cce13e66aa82c5754ad11b7e95d4d061f9be000d008fdae7073 |
|
MD5 | 0c419d3a7d2e75be93657a5b1c47d422 |
|
BLAKE2b-256 | 8c0eac638fc77be91bf601f0a3e124281cc8ac3946ce8dea7f6558710e7fcfdf |
Close
Hashes for cdk_lambda_layer_curl-1.0.792-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 725c69be3ab4179b213c33f83267faabf1b3106ebda2906d8732e173064d2cf6 |
|
MD5 | c5e71027d52b79e97ef364a365cfc719 |
|
BLAKE2b-256 | cbf4a747b6e969641f44c3b8e1391edfa1f4cfe29bf14651c3b3791fa85ecabb |