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.498.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa4443134448af23dd074ddd869109c865ccdf4f9c92619807894e6e9850e9bf |
|
MD5 | f676046bbe5ceefac897919f475f3f2d |
|
BLAKE2b-256 | 53c1c7514d9f8374ccd2cf7b47c0d4ecdf9836f3d0114c0e83d073cf4b6c1af2 |
Close
Hashes for cdk_lambda_layer_curl-1.0.498-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0cddd81a28056d9d54d53e6d61ba5a1860e151f7d2eab8d4808eeeb3456d84cb |
|
MD5 | dbda8f691a38f5ec3cf32909d3aaf7df |
|
BLAKE2b-256 | 6e589788c9514d5018c3032e80fef951164b25f29aeb5b51bb5b2a1c9f0fb299 |