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.779.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f56c6f849b775673c2d255fc4a91bc166ce61283346d933dd671bc958fa2611d |
|
MD5 | b5821afdd361f9db9f2cdf1afc4e8a80 |
|
BLAKE2b-256 | f743344b3f4fd9bac464434c0bf0cb53c3caa28393d4acab9abe6108e86951fd |
Close
Hashes for cdk_lambda_layer_curl-1.0.779-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77dbf9047f3e3e412dd98d9ffe39ccbe93ab9b21a0e9dfa8676a6c7accad42e0 |
|
MD5 | 99ef685747ee3edf4c0d028d4f1851ba |
|
BLAKE2b-256 | 3aabb93aa0e1808914fc312d44b90994752c8c35b18ded799b85493dafb02c99 |