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.630.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f271581777fd284685b3a6acafa60e5a14a82eb288d42633521b012611bfff4 |
|
MD5 | 709bd199eb96891cdda9dcbda1b3f319 |
|
BLAKE2b-256 | 2bb6ffcec0cca8cf122b2068bcbf2be8aefa7d9b48e9dbad86652e23d145626a |
Close
Hashes for cdk_lambda_layer_curl-1.0.630-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f3a064ec3efc9f76cc6700542c57a83feee072c83805cf8cf916a855e8a78c3 |
|
MD5 | e14510e6d7ad4d558ba44bf61ff79dcc |
|
BLAKE2b-256 | cfbc44d436c11e86b5121ecd343b85c8f082367b5cc612c13b80d24c5184b980 |