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.412.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00a9d017fdc7f718eab97b2b9e892a08e24b669a533f4f3cb686e6117a35b53d |
|
MD5 | e78278937a15183137d0e75443bf2f2e |
|
BLAKE2b-256 | 4284a02218c1b444b5fcc1aa899b48695807565e209418b9fddfcefc4704be2d |
Close
Hashes for cdk_lambda_layer_curl-2.0.412-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b831f3233baf772c1fe70cf104937463e972fdeeac7342f14cceacdab0a38e44 |
|
MD5 | 5caf188fa7d259f1acd5f761001a9a0f |
|
BLAKE2b-256 | a3cb945f42f0cbb5465c75867b093effb7ae798610c3bea89ff7f3922410a52c |