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.85.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b178e2095e5d521b47acf94ad79beaad97469038b7909886d9ad561fb5f8c900 |
|
MD5 | 1dcca9ecea7ac1fb339e935017d9ee4e |
|
BLAKE2b-256 | d1cd49585df34531c140bd561cfe3533dc76673d315e8bbd07519a3563fdcc1b |
Close
Hashes for cdk_lambda_layer_curl-1.0.85-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfa46a8834e3543574c83f2f2cb90adda2707077221918d479203455dd8051af |
|
MD5 | a89f624399ffe4d9698ac7fd446168c9 |
|
BLAKE2b-256 | 3e81876cfc34b013b20e9856a21acdba0f8f183d401101d78ec78d44dd89982e |