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.660.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b40854b005b5e874ea84bb3eace3d35db2faf1a81acd0422a31740ded4fd701 |
|
MD5 | 270802658a1a95f59b93cf4df4262130 |
|
BLAKE2b-256 | f7322b0fec99c67311d0c5eb6ba9b91906f64828dc149d80d822a16dda7ba413 |
Close
Hashes for cdk_lambda_layer_curl-2.0.660-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 647638e9de4deb7a9157d166f44a56f7335a50ba4ee609c8c77042b75040f623 |
|
MD5 | 16af37deb2e87e13f8c6a2a4721be54a |
|
BLAKE2b-256 | 42b543b5230f82eb908d77923ebf7b5195bbdefa317245baf9e83b8b8b616985 |