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.668.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3b3c70d77d71718903176e246bfbf02401372236c35cb7b1e27f308942f0ab6 |
|
MD5 | c805e1378a3bbca3b1c1abfb60f4a1d2 |
|
BLAKE2b-256 | 81db0ce91afb4ae6c5f371075210f105f9c64e0b50078faaa20391eba8ece039 |
Close
Hashes for cdk_lambda_layer_curl-1.0.668-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce5c146d1e0deaca8654ef98ba9feb6a66e32c80b9310576a287de012dbca1cd |
|
MD5 | 27d926c932f7fd05126e27e3c2c8f179 |
|
BLAKE2b-256 | 18b1a2ae8cb0dd81b791dcb4bab940460dc220d8713f955d4316e1fb6985785f |