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.649.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2273e6989e5659501a25e4fa46abcf7aa22d3e0d5cc41a3426cccc6cbcc9327d |
|
MD5 | 50abfb675f622a700b3177923bce5453 |
|
BLAKE2b-256 | 72ba83afcd8e998c5d14f03d8c1fffe58c60709315d50caf19fd864e157cb152 |
Close
Hashes for cdk_lambda_layer_curl-1.0.649-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05bce5db124bbeb96ed5e034470cc0b9ca8d63468e08a3b815dc9711f59d3eba |
|
MD5 | 167698ac8bc6c40917190c6aef6e9e21 |
|
BLAKE2b-256 | 0ebd0f45bccd56cb86e1f55fedeb34a955be9393d044834accf4e404cc9d65cc |