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.145.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 015f1828738edc82218a43813d31a93ece31d0adc7488fa9bbf060da642f3ebb |
|
MD5 | 5ad18f5d69be266f392c3551c8daffbe |
|
BLAKE2b-256 | bcf41211141fe0f58d4239836c693a30aabaa12d5f569fd70593c7f2bd734725 |
Close
Hashes for cdk_lambda_layer_curl-1.0.145-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 796523c00b86e6845670dfa71ec8b80fe36226921229dd0c97218cd240189ea7 |
|
MD5 | 86482c548fa270b4b24aad15c94eebfc |
|
BLAKE2b-256 | e37b805a2cb2b6c6dd3630eaefea41853eaec74a2cc3457fb99bd1fc73667a34 |