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.718.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45b74f3ed7b488ade63bc573ab3931f11be32c0a840f89502da9a75fdc5978c0 |
|
MD5 | 920d193e04a049d2bb5ff320ed3b02a0 |
|
BLAKE2b-256 | 6d41a2ff314ea328d5b944bcc90a39ce62eb608a829289d2ede58ba7f66f04fe |
Close
Hashes for cdk_lambda_layer_curl-2.0.718-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4969539829fefa311c11277ba3ea3520aa21ab226d4a6088c8029c22c130fca |
|
MD5 | 75b4de50815fec724e42571934c91a02 |
|
BLAKE2b-256 | 958359a20eb159fa2dfd0134166dcc86e54b2fef8681ae0f645a5032970cfacf |