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.640.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74f00aa6fb8a49689e38afc1ba94cf00c1b8b2971176c5e6812a77558ec89ba7 |
|
MD5 | 25d577edfc016451e8d9bad8cac8d363 |
|
BLAKE2b-256 | 4310101c5cdbe3da63c602fb23f3cbf818bbe976dbdfa111a929506a13577e94 |
Close
Hashes for cdk_lambda_layer_curl-1.0.640-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bc3e0d6b0d0fdab805b5351cab1cb030be53b437ed654313c40392b155fd5d3 |
|
MD5 | e20151b088bdd66dd50ddf9c3a7e798b |
|
BLAKE2b-256 | 0878d9abf91a7c34e124c54896909f9373b6ad3027d142cbc567fa2c0f56fed2 |