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.746.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63ee09d5979de66074341051d03d7721b56054fabfb6bcfa83e8e2751051823f |
|
MD5 | b770a08fb3db9c5ddd219f20ed193262 |
|
BLAKE2b-256 | cff331677f8a4a908a90fb1e4be1587670c9b4d4d22091de544760f8f5cf6afc |
Close
Hashes for cdk_lambda_layer_curl-1.0.746-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f584acc6f0797bd9154a68db0d04348509d10dde09502b1e4284b2e7a60e9bdf |
|
MD5 | c4988410e0f528a31edbbf930174928b |
|
BLAKE2b-256 | 2f9a625e96f9d2768b312dba7527efd6e9be5e710ccf1fa1919a5bfee33d785a |