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.562.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21a1d77c1e48b79ecf9b2521cd4ef62e417798b4d608d6cd4416855e2a2ffa51 |
|
MD5 | f100d4c2e047c193900930c71cdce22a |
|
BLAKE2b-256 | 5fc56e2f5ebbbede4463d8a5fe03a39d02d6084870f6d59ade7f50e177617247 |
Close
Hashes for cdk_lambda_layer_curl-2.0.562-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 279d799ee6c2820cc32c4d06113a552fe6d72362f969f4a03ea4f14c3577c4c1 |
|
MD5 | 8ec93b1a16e196dc32665eba0062641c |
|
BLAKE2b-256 | 210329443bf452196d53454f61fec0d78f450599db06791711f16e199301fcdf |