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.361.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a61d8f18c023d740bd4db22df894d1c190d956466900c7cb65aa67d1ac8f58af |
|
MD5 | f80eccd2fc5f31bb9c5f6148c4e80a47 |
|
BLAKE2b-256 | 999c8e239c7a37f582cfdc465e78e3ce76ace9514f0944dadab538a555e2f268 |
Close
Hashes for cdk_lambda_layer_curl-1.0.361-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed9c851ec2b2cd9a253d9097be8b64d5b933d9da3e30fccf4bab9c727d9600fb |
|
MD5 | 21198b2d4bd2407b794a9b3b41fff415 |
|
BLAKE2b-256 | d8c9648bf58a257c30f237deeca843e7cee21a1fe6c0ce82b4fc3c98ba670fcf |