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.330.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ea11c3fb7adccbb00de52c1654262d91e1653413cfe28554d44c86f259b5c40 |
|
MD5 | d8a819f9f5a035df88b2278ffde96a84 |
|
BLAKE2b-256 | fc9dbf68bab8c239a0ac822331fc5d788510d4a37b656cb9cb11e49fc19ea363 |
Close
Hashes for cdk_lambda_layer_curl-2.0.330-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f70521358f0a693f206bbbeb0dd2c74bad59b0e2b994c36439b8416ed771e6f |
|
MD5 | eb1260c881be041842ef42b6431a8267 |
|
BLAKE2b-256 | 0b08f189fa744c26eccb8b4523bd7c674b6d0f25a7837776d399412c3cdd97d7 |