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.455.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43c47448e05f471fee58d079bccf110704bbb9e3d88a3a2748490341eb8ac366 |
|
MD5 | 24e176970239fdc4ab97cd176e889290 |
|
BLAKE2b-256 | bacce492cf5619e69099ff5d89b25cb74c8ccef6d94cd69017d3f63dcd135f86 |
Close
Hashes for cdk_lambda_layer_curl-2.0.455-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68dbc4aaa3dcb02aabd3e5066d27a88d0acc64a527fe6a8427c9ebb84971c8eb |
|
MD5 | 734cabf84dda0580a240ec25464f7d78 |
|
BLAKE2b-256 | a56f0a2f87895bc4d164e616965a890a3a6fa7c329260ef1348c64510bdb883e |