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.589.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40332059893910fe2d04790006935a9c3316271287c9053aa25c102788f3211b |
|
MD5 | 5363cc37b7d376bd9d017490fadca839 |
|
BLAKE2b-256 | 6b3f52d4e8c69d27d14f8bbebeee9c415b50cebf6dd9ba4ebeec1644458cffa6 |
Close
Hashes for cdk_lambda_layer_curl-2.0.589-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4a1db4863a5804a249674e887008edc1f963c8debed39f0f83d6c3ccd1abaf7 |
|
MD5 | 41d2dad353e2acd2006d3817915182a5 |
|
BLAKE2b-256 | 480a04de52c5fbcabb9265e608f5d2cd0b62576f08b58e2913461c430a88681c |