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.657.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1ee9dbf6786b167629f4ef4c2d8ae16af3f90cb6fa1956b2108a94ced5e1e4f |
|
MD5 | 7dbd2cf5164c0017e7df2fad40e89a33 |
|
BLAKE2b-256 | 7985ff38e54185d4414337f303e9cb3bb45f4624f00b3184abd264e3db038f88 |
Close
Hashes for cdk_lambda_layer_curl-1.0.657-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93e74fffc5dd7979a1124013b6e9c0e7464981cc2d7d74795e4965255f199bf6 |
|
MD5 | 62827062e7c922d104886eca4dcb27cf |
|
BLAKE2b-256 | d3ed2fb82fc954d7fdc63e4ad3ade0d99449f3906f817f49e5ec8c8ee07590cb |