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.777.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab9afdfad4cea90c01a47a65f4d591849c9989a77c8a1bc98c5f7c37362ef1b7 |
|
MD5 | 517c087b60041e57332d9121c45c07d8 |
|
BLAKE2b-256 | 1c4e139b93782f81650a10a82cdee84927342562ccee02fb1454b4ec057dac96 |
Close
Hashes for cdk_lambda_layer_curl-1.0.777-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e10d28f59c76d65b1f6915738b72da86843afc434cb340f6100f88624e227f5 |
|
MD5 | 6d29fff14a8237e862b72ac220be4e5b |
|
BLAKE2b-256 | d27d61457e644bdde52f96a9f63733d967c248323ef8971ecc2744ea651c33ac |