@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
77 lines (76 loc) • 2.15 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* An aggregated metric of certain devices in your fleet
*/
export declare function getFleetMetric(args: GetFleetMetricArgs, opts?: pulumi.InvokeOptions): Promise<GetFleetMetricResult>;
export interface GetFleetMetricArgs {
/**
* The name of the fleet metric
*/
metricName: string;
}
export interface GetFleetMetricResult {
/**
* The aggregation field to perform aggregation and metric emission
*/
readonly aggregationField?: string;
/**
* The type of the aggregation query.
*/
readonly aggregationType?: outputs.iot.FleetMetricAggregationType;
/**
* The creation date of a fleet metric
*/
readonly creationDate?: string;
/**
* The description of a fleet metric
*/
readonly description?: string;
/**
* The index name of a fleet metric
*/
readonly indexName?: string;
/**
* The last modified date of a fleet metric
*/
readonly lastModifiedDate?: string;
/**
* The Amazon Resource Number (ARN) of a fleet metric metric
*/
readonly metricArn?: string;
/**
* The period of metric emission in seconds
*/
readonly period?: number;
/**
* The Fleet Indexing query used by a fleet metric
*/
readonly queryString?: string;
/**
* The version of a Fleet Indexing query used by a fleet metric
*/
readonly queryVersion?: string;
/**
* An array of key-value pairs to apply to this resource
*/
readonly tags?: outputs.Tag[];
/**
* The unit of data points emitted by a fleet metric
*/
readonly unit?: string;
/**
* The version of a fleet metric
*/
readonly version?: number;
}
/**
* An aggregated metric of certain devices in your fleet
*/
export declare function getFleetMetricOutput(args: GetFleetMetricOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFleetMetricResult>;
export interface GetFleetMetricOutputArgs {
/**
* The name of the fleet metric
*/
metricName: pulumi.Input<string>;
}