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.749.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 921417dbf8df5644ae7deff92e307b3df7540584ea6fbe869878f9a7dce79f2b |
|
MD5 | 9fa9d2f804f026ff7a9090a1a00d551c |
|
BLAKE2b-256 | 659e1a342fad720f6ddc312a1f9c47485b54089606fce77051bf164e3946b7c8 |
Close
Hashes for cdk_lambda_layer_curl-2.0.749-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91805987a21451bd1a1b95e8a2fdb24774b9b4c6aa6f2cd5b5f376ebd6405664 |
|
MD5 | 7431d9945c70d10cf7eb6c049e753f78 |
|
BLAKE2b-256 | 14165f90732de6d78a3b3af6249f5ad399d211f931d95f03fa32af510d2d5f1c |