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.92.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cae1492a5badc90dbfd0e34bc8b28e2bb9e752d41c58dee375328d9aeea836d3 |
|
MD5 | b682ec7f7b2fe3cbfc963e0447ad0b80 |
|
BLAKE2b-256 | ac3b87376c81568b2b49eecc80b39d367145c1bead912f16dd125f673f24ad0a |
Close
Hashes for cdk_lambda_layer_curl-1.0.92-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddde7002f70593bb0e35f9d340d66ea2b1268961bb7b560065b4fec5bc8da863 |
|
MD5 | a77c2985aa572a09d401615d51b5f363 |
|
BLAKE2b-256 | 36bc7633389729a83343c0700dc0be76afec0bf76e0ed9ebe08c0436c61b5979 |