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.443.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc3bde61a555303669f9ccb458cf53416d4719f97a473730cf787c1ab53914fd |
|
MD5 | 4efca20b179dad719ec58cce442e5ca4 |
|
BLAKE2b-256 | 94054ceb3a453b45c1f4b8cf8c47fe1b4a723b879b6277e22b87a330cc4e242d |
Close
Hashes for cdk_lambda_layer_curl-2.0.443-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffbddf24a87e5dfcfbe0993d85bf6e8bf546b6a9a90af81524a6aa469c8bca04 |
|
MD5 | 78f32e15a9ba4ab79c4294cc95e8ea27 |
|
BLAKE2b-256 | 0f3320cfdea74bfc6bd8626d02f885f29cdf087e03d737ad6ce378894cf2b09f |