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.643.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2f6c7caf83340d45465a22d128af66a184a035567b3ccdfb05f391f641b54f4 |
|
MD5 | d0f2060cb37819ccf3e49b93b8d9e1e1 |
|
BLAKE2b-256 | 1ec501696e6b479225e475f22844c3fbdb415185ba33c0a7084613c34c318041 |
Close
Hashes for cdk_lambda_layer_curl-2.0.643-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20e13b01805dbbc57fd7076d2ee139fa6c96713c3bacc3715fb29b6c59a14ecf |
|
MD5 | 8a284d7cd1520ba1de2e3ef1801fba5e |
|
BLAKE2b-256 | 731ff7d64904fc9ad6bb74ea8a2fd42c2f63ff353b5d40c5e7a69cf055735e05 |