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.398.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3baf43571bf14d32007cc195fc40682d57865662c5f78b7116135ddfa835fe08 |
|
MD5 | d4db5992db566e2ba7f348b8b343e4de |
|
BLAKE2b-256 | 95b291228ad7e94d537dcd344596fb88f363a13ce865546d58ec77a5019d898f |
Close
Hashes for cdk_lambda_layer_curl-2.0.398-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f654778ee6e82a0b052cf25cf38af77aaaa84d2d794a94d0d553e7cd51bf148a |
|
MD5 | 36fa4bfc1cffb49c8edc4a292b0e650e |
|
BLAKE2b-256 | 9d36de38a4a2cd06f94aea88483ee9fdaccdd44922ac5c2683200d4ff2adb4f5 |