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.676.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6ccdb05bf30ddbcb3657b8c84f5333e36c34998d0fcc47dbaabe6b6ff070687 |
|
MD5 | 0bf6da0818de5967e74f3a67e1d71f86 |
|
BLAKE2b-256 | 387ba9f91f3840cf3a6aef9210fbf9c2e8ab97afcfa071052cd3f7468141e189 |
Close
Hashes for cdk_lambda_layer_curl-2.0.676-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 758d9a72eadc311b8035a06080709a47746f0c3c294d366b1438c77976ff294d |
|
MD5 | 9a47cf56b15c125df34d99c148eced5c |
|
BLAKE2b-256 | eaf74ce5118b2983a47038c89b9bd13eca809be273322577fe80ddd725d1ecf9 |