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.216.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb5e784ac6a5ecdab234e2fa97f206e5248ef8c475686be027ef5518d6bddfbd |
|
MD5 | 0895c3a49d566c9a7be667f65cb5e71b |
|
BLAKE2b-256 | 5984853afdbfdcb9862b8b2d4b21eb435d00e9b5f8c06cd18998ad08e0c1f7a3 |
Close
Hashes for cdk_lambda_layer_curl-1.0.216-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7447072f258f5f0fa53258b1efb29d129a5b79b5608c754ecf849f195b845e7b |
|
MD5 | e7bcf86be423f42298940aa7c53e13f0 |
|
BLAKE2b-256 | f8cb26ec1c430ebc772544eeec2e3d60906ea4c89059ce4b39a22c065464db4b |