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.366.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06c976e0311b207d07d669a5d991934417ee440d85fd44028d3dffba46b788b0 |
|
MD5 | 61893513b444d85d87365d0f74fd4110 |
|
BLAKE2b-256 | c8081251ef5da149fe66b4d9b311da54c1b2bcdcf49677faaa5085b2baba2244 |
Close
Hashes for cdk_lambda_layer_curl-1.0.366-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b93c4969155d035900ce65c088b10a52f2382c64e02a3d359bd4c0e7add47a3b |
|
MD5 | 532863ef3e28bfa305fe0ed38d5753e9 |
|
BLAKE2b-256 | 7a53d9a90608771658ed448d248f272a873e6178074010c5ce54dc2c01a05866 |