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.563.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a8355de54ffe0399eab46a57990052b4fc56031c3cdebddeac695421639c4d8 |
|
MD5 | 8e0567e5ef3bbbce6844dd19733d956a |
|
BLAKE2b-256 | cc064d367f7756b12782acdcf17161f31340b9601d32613c9ce7065901458245 |
Close
Hashes for cdk_lambda_layer_curl-2.0.563-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd3fbf89e434ab7a5e9eeda513a8c2593e6aef732aa7f44b5b2d5c8a538c0732 |
|
MD5 | 49fab1753522b73ea95814f8afa0ed18 |
|
BLAKE2b-256 | f6a3a1d0e4ee83442fac745645106adf085171982a8d2f2d47755de3f2de9781 |