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.468.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bebd359ab4c27b0ebc981eb4dd10161f1effb20c8bc0697a03678bf0f694ea08 |
|
MD5 | 141e85f9415dc44368a4269c559b1e54 |
|
BLAKE2b-256 | dd68a018c1720a961850716903e70a97c13d3d5905f3f48c033974b3cb6d351e |
Close
Hashes for cdk_lambda_layer_curl-1.0.468-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5aa6360fce9f7cc24e4f9bc980a72ec207f788fbef1d38eed22c57e1c9022250 |
|
MD5 | 5fc9356f701b9b02bca5c32512cbd352 |
|
BLAKE2b-256 | 0b675f57bce06c8f22bbb6b3af4fce2c87b4333e55eb6208d733bed907964bb0 |