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.703.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1821d1d33d3b051e29792b8fa9552b9be8add9a9fa86c687288929ead395ec8 |
|
MD5 | 66b012a86b0f3ed9e43ae46fc9bf80ff |
|
BLAKE2b-256 | 43767f522c654677ba1a068c031e7a558e5e6053a1c6eab9710c70689c1fe610 |
Close
Hashes for cdk_lambda_layer_curl-1.0.703-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4630ec3c3fca3d75c6fa9ad3fb4b35627d51dad3a0f0abbdf1cec85ebeee3231 |
|
MD5 | 7b032671f5b896508d153382b17a9dda |
|
BLAKE2b-256 | e2a95f0013d7b440c372b4742ce853284c643b86dfda14bd5184948cfd1e4ce7 |