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.567.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a1ce6cd5d6a80fdc7a5d506a1ec099c7290b049341af2cae724d5fb2f19f182 |
|
MD5 | b596d606d13fd6d15abe6e7749fea7e9 |
|
BLAKE2b-256 | e8187cce7c8a410cb74a676dba0ee802e75d38df400e0de6de0bb88e7c54ae80 |
Close
Hashes for cdk_lambda_layer_curl-1.0.567-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65b7d6cd8a4f98ece743e13de24f83f4008b17a94b211487056b4b08e0938ddd |
|
MD5 | bb78f33029f7443233fc62ce0486fe5b |
|
BLAKE2b-256 | c74d19afd53521920be428463ce53062cf2dcb37fd13d0845f097091697398f6 |