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.281.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7320a83ef614b6b8e6bce6fc412701509abb29b0ef5155da9da49a2f1b99eda |
|
MD5 | 3e775873d3b2ee7216e150edb1b24b62 |
|
BLAKE2b-256 | 3a8574eb1d4a59442b4f2cf5652cd047154afff5e90d16639b9c1b6e82e7b6a9 |
Close
Hashes for cdk_lambda_layer_curl-2.0.281-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4548e95945879a9d2936e9181c6a39cf4cfc7539f39e950ce6ede8355abbb83 |
|
MD5 | 935c90af638e823f8983dc5770a9f6bc |
|
BLAKE2b-256 | 6ba9eb4bf693302c300de4df952bceeaa1da1774bbf34a3b64127a5be1c4e508 |