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.72.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b678cbbe6ea198c8bb62a32804fb90c13980bc361024fbf33b7ec9f6ce06b7c |
|
MD5 | 5ae57370a23de062d851a8b2fe930c6f |
|
BLAKE2b-256 | 821618dd65093d1d1fa97ee65f0d8bb545864b8ea3dde962620f6860c5f06f5d |
Close
Hashes for cdk_lambda_layer_curl-2.0.72-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a01117e645e35a28c678fcb22144371d9b310352862c93ea441060872c68aa1 |
|
MD5 | 825aa16a4a57d90901b78ab2ed4b29c7 |
|
BLAKE2b-256 | a5b78f4712b2c9d33c3048d7ba6a4eeaa5503e765bd6e672130f8a293a609f97 |