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.51.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4342d41afe34101b4ecbf3d98b4cdb0c08d4095dea7bab8aa44616c5ef0bb4d |
|
MD5 | 8d78221c456805cc8d287b06ac453875 |
|
BLAKE2b-256 | 20f8ca1204b4eef5b89a7c5259ab3dda6dc84d922680dabf534424da8c840cd7 |
Close
Hashes for cdk_lambda_layer_curl-1.0.51-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7bc8d30d50f314e2223b32cd882504525d949889404a514ada00ca21f1571ca |
|
MD5 | f9efebfe0190c254e48cacb36f0eccf7 |
|
BLAKE2b-256 | 3340dd9e08ffeda6e833e25b9df19a581f458e4c5f8b89ab63f332d3bc291496 |