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.113.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7326c1fb493c4378efde7c65be9993cef63856816ad190430400c971fd56f9c |
|
MD5 | cb3f277f456b92086ffc47d84cbe871c |
|
BLAKE2b-256 | 47f365594b33a64bfa1fa0388e39e66292af75fbe0fdc158b57376d68b7e7caf |
Close
Hashes for cdk_lambda_layer_curl-1.0.113-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55663da910ab3575f9ed4299257df6b3a688721bf0925f78aa1f4f326494c0b0 |
|
MD5 | 699b24723a45aeb340d2938cb8bdd43f |
|
BLAKE2b-256 | 978e4dfa30961cb11cba15cfd0551f13fa74b38a6f3eab73f6486db06b4c3f0f |