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.519.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dacfe5d8f957e6a686d8b5c9e86fa4d700b8f76df6f54ca5a49920e2446babd7 |
|
MD5 | 399b2eaa438c9e06e07e4c8084224334 |
|
BLAKE2b-256 | 1b0c10d6b6cf8385d0d53e6ba117b50d0adb3d06b25255688697369f3a73d18e |
Close
Hashes for cdk_lambda_layer_curl-1.0.519-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf0dac64aea7d5a3c0776847ec597ae47eaa4dfa08c63bec45be792fd910d3aa |
|
MD5 | 93a402ddf74395da4c5700073d631d7a |
|
BLAKE2b-256 | bc4d56035b08c15af7b657c1e1c407bcfb28d5c66ccddb27dc014fd048f40717 |