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.628.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91b51e9761e9a44045007a11a68b7207626765b673df7164a6a79d22a2313ac9 |
|
MD5 | cc7d4a18e924fbd211599fd00f2cad4e |
|
BLAKE2b-256 | e6b4cba2d4d68c2838605b6917723ef3a54609a315c6384961a9a3358f171f7f |
Close
Hashes for cdk_lambda_layer_curl-1.0.628-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30d741d4aa182b3b97d6fff7421a675990884f7c4da6823c4f19c2045bf152d7 |
|
MD5 | 80712531952787a2c3e8677156b6a549 |
|
BLAKE2b-256 | cf3040fb264627192086baa8c1b823e8a7a4c3869da3749f45bced1b1533bff1 |