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.94.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0d6416f6be337266d0cde1c6d7c0fc444e1b50695004892bc6be758870f06ba |
|
MD5 | 3e8796eb1f7dfa5298695b3075a38714 |
|
BLAKE2b-256 | 112e1f0e4d1443c4f70ba0cfc459b1d61b41e8b42e52ce58ca61df22b3a623ba |
Close
Hashes for cdk_lambda_layer_curl-2.0.94-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | efdf3a844bfc62a91b717495878fbac45f344ab81eb4bc92bec0a11c325f7e5b |
|
MD5 | 8d46eb2e586e84ed58b1d962584c6f22 |
|
BLAKE2b-256 | 6c040b84ecc51dd24a346d94acf2fff3f5cb045bdd49e7b5e8ed53eae8fa5f6b |