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.753.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | abc432283e511f636290dd85eb10a103d3edf91c533c445dab93988eb141b8d7 |
|
MD5 | bbbd17f9bdebe8bd739413257cb28bd6 |
|
BLAKE2b-256 | 3849e9cdd61c64671715c4d8b464bfa8f0317c984e243f8d8620b3dd30d93ccd |
Close
Hashes for cdk_lambda_layer_curl-1.0.753-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bacfb0e12fea7fae5cd0746e6680444cbe81cf036c4b84a6b9db6af52226b578 |
|
MD5 | b02e3635006a3073ee25161c4064bd97 |
|
BLAKE2b-256 | 113c5ab2434cc69fe3ba452146cfc8f154181590ab653386b6cf0633e64c0c3a |