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.35.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80835c3f0bac2f2243e1454b6b6fd815f42720a584ca7339f7ea38df63196676 |
|
MD5 | 2614bbba17c6f3a19a7a91dbb1040e12 |
|
BLAKE2b-256 | e35d3d41157e97743b76e3cdd7607b9af3a0cf090f4642d106c779581e8d9b09 |
Close
Hashes for cdk_lambda_layer_curl-2.0.35-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41c69e5b2a7896038d6d0d4a7764881ca3d48926dc06ce5bd527b9ddf3953c0c |
|
MD5 | 80d60ccdf6ad17a244e4329764336240 |
|
BLAKE2b-256 | 25df28b1712db8fc794f2904436df9866576490a7aa0964a8c9c275aa0a7256a |