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.289.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6945f6cfc85e3ecc59621cf23e78116d885174afebc5f34735f4af5d4e406bd |
|
MD5 | b6cd5116d3301718074bc3b51105239d |
|
BLAKE2b-256 | 3692da1753c54a91e69348d6d0527a54013c03edab4ae74170e83e4ae1cd06c2 |
Close
Hashes for cdk_lambda_layer_curl-2.0.289-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17d83f5016f9eff77d3646b72bb1b031fbe7c5d421c5f98cf55ad4136daf364b |
|
MD5 | 7634bf78e8542ebce71dd3d4850e93f5 |
|
BLAKE2b-256 | 0cc7ab2fc1ae4e092e3925094336dd594b447b3376e5a6934fc19b5ec93e898f |