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.308.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc30cfcd1499f9bc79cba1865f0e72ab65de9a4dce2df3e69480a1f6ce21026c |
|
MD5 | 55872245d2ccbcc0f0187f6f693b6a2e |
|
BLAKE2b-256 | 13ba8d16317ceb801958a627f32e7867efa791496753a42f3f4fd81e5c82471f |
Close
Hashes for cdk_lambda_layer_curl-1.0.308-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f82431494e6603708f125f1cadb1eb550713207222d8287051a6a46212488355 |
|
MD5 | 61d960b3f778c72adc0c5c5fbf926286 |
|
BLAKE2b-256 | 32c1369b57089eccf26dfb1e6e128d1d93f320fe961054994d38a1a3858f0a03 |