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.116.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b892a0b92b1c1c82a71ce1f69d56214e635ff480f2ac7caaab00fd8c1ca4c069 |
|
MD5 | e02f61b480f9fad83af85d2689d1c571 |
|
BLAKE2b-256 | fe1d833b7cfb116a5bcffb7cea8ed19b30fb7beeb6690f7baf0a7f6d94bf919b |
Close
Hashes for cdk_lambda_layer_curl-2.0.116-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16f53523d8c0321d852b7cf2ddaf2fcbbc88fbc390038c59c3bb77875919ecf8 |
|
MD5 | c220350043204d7d9d1fee837b789648 |
|
BLAKE2b-256 | 8ddf236ce3928c8f044321660e49a138d5b86b49198d2b2b189472628b7645e0 |