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.344.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb9bb1b7223f852797f80b0e25b9956e7ef35e3f6aac0e08cd344d4d71399928 |
|
MD5 | 9290a3bcbddc23eddf87c593da552e4f |
|
BLAKE2b-256 | d11a0537a5b20a1fccf8f0455b7e69ab62853ce5209342e735dcf3ca1ba20c66 |
Close
Hashes for cdk_lambda_layer_curl-2.0.344-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a131ba4c39cfecc9f3e6f41d36700b6db4f2a1c9436da56a31b49b851b7404f7 |
|
MD5 | 2f272238cb001f25362a624c2eeadb74 |
|
BLAKE2b-256 | 60c4b598a0b5ec829715c1d8cd425d828708ecc128d3d1b2f91b87de94c8e98e |