@pulumiverse/dynatrace
Version:
A Pulumi package for creating and managing Dynatrace cloud resources.
62 lines • 2.74 kB
JavaScript
;
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getLambdaAgentVersionOutput = exports.getLambdaAgentVersion = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* The AWS Lambda agent version data source retrieves the latest version names of OneAgent code modules for the Java, Node.js, and Python runtimes, also including names for layers that are combined with the log collector, as well as for the standalone log collector layer.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as dynatrace from "@pulumi/dynatrace";
*
* const example = dynatrace.getLambdaAgentVersion({});
* export const latest = example;
* ```
*/
function getLambdaAgentVersion(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("dynatrace:index/getLambdaAgentVersion:getLambdaAgentVersion", {
"collector": args.collector,
"java": args.java,
"javaWithCollector": args.javaWithCollector,
"nodejs": args.nodejs,
"nodejsWithCollector": args.nodejsWithCollector,
"python": args.python,
"pythonWithCollector": args.pythonWithCollector,
}, opts);
}
exports.getLambdaAgentVersion = getLambdaAgentVersion;
/**
* The AWS Lambda agent version data source retrieves the latest version names of OneAgent code modules for the Java, Node.js, and Python runtimes, also including names for layers that are combined with the log collector, as well as for the standalone log collector layer.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as dynatrace from "@pulumi/dynatrace";
*
* const example = dynatrace.getLambdaAgentVersion({});
* export const latest = example;
* ```
*/
function getLambdaAgentVersionOutput(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("dynatrace:index/getLambdaAgentVersion:getLambdaAgentVersion", {
"collector": args.collector,
"java": args.java,
"javaWithCollector": args.javaWithCollector,
"nodejs": args.nodejs,
"nodejsWithCollector": args.nodejsWithCollector,
"python": args.python,
"pythonWithCollector": args.pythonWithCollector,
}, opts);
}
exports.getLambdaAgentVersionOutput = getLambdaAgentVersionOutput;
//# sourceMappingURL=getLambdaAgentVersion.js.map