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.246.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f93a39ad0aaadda41b15dc9eec7b8e30398c034018a1b5260fa1429fcc768ccd |
|
MD5 | 1a22046b4c8855a6c78e45c6b7b2d544 |
|
BLAKE2b-256 | dfe83fd6ca31208bca1438a45a3661accdf66503dab86467e49d44520f493cfe |
Close
Hashes for cdk_lambda_layer_curl-2.0.246-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f976af2ac076eca9aa1ec84ebffdd184fcdae42c562329638b7355f0f4b1f717 |
|
MD5 | b7a2c3cc6ed36e3cec2047db40cbcb3b |
|
BLAKE2b-256 | 23c6e969e49b619b7fcade6020cab40a15a200fc16440d610dd1b185919248d1 |