AWS Native is in preview. AWS Classic is fully supported.
aws-native.iot.getFleetMetric
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
An aggregated metric of certain devices in your fleet
Using getFleetMetric
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getFleetMetric(args: GetFleetMetricArgs, opts?: InvokeOptions): Promise<GetFleetMetricResult>
function getFleetMetricOutput(args: GetFleetMetricOutputArgs, opts?: InvokeOptions): Output<GetFleetMetricResult>
def get_fleet_metric(metric_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFleetMetricResult
def get_fleet_metric_output(metric_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFleetMetricResult]
func LookupFleetMetric(ctx *Context, args *LookupFleetMetricArgs, opts ...InvokeOption) (*LookupFleetMetricResult, error)
func LookupFleetMetricOutput(ctx *Context, args *LookupFleetMetricOutputArgs, opts ...InvokeOption) LookupFleetMetricResultOutput
> Note: This function is named LookupFleetMetric
in the Go SDK.
public static class GetFleetMetric
{
public static Task<GetFleetMetricResult> InvokeAsync(GetFleetMetricArgs args, InvokeOptions? opts = null)
public static Output<GetFleetMetricResult> Invoke(GetFleetMetricInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFleetMetricResult> getFleetMetric(GetFleetMetricArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:iot:getFleetMetric
arguments:
# arguments dictionary
The following arguments are supported:
- Metric
Name string The name of the fleet metric
- Metric
Name string The name of the fleet metric
- metric
Name String The name of the fleet metric
- metric
Name string The name of the fleet metric
- metric_
name str The name of the fleet metric
- metric
Name String The name of the fleet metric
getFleetMetric Result
The following output properties are available:
- Aggregation
Field string The aggregation field to perform aggregation and metric emission
- Aggregation
Type Pulumi.Aws Native. Io T. Outputs. Fleet Metric Aggregation Type - Creation
Date double The creation date of a fleet metric
- Description string
The description of a fleet metric
- Index
Name string The index name of a fleet metric
- Last
Modified doubleDate The last modified date of a fleet metric
- Metric
Arn string The Amazon Resource Number (ARN) of a fleet metric metric
- Period int
The period of metric emission in seconds
- Query
String string The Fleet Indexing query used by a fleet metric
- Query
Version string The version of a Fleet Indexing query used by a fleet metric
- List<Pulumi.
Aws Native. Io T. Outputs. Fleet Metric Tag> An array of key-value pairs to apply to this resource
- Unit string
The unit of data points emitted by a fleet metric
- Version double
The version of a fleet metric
- Aggregation
Field string The aggregation field to perform aggregation and metric emission
- Aggregation
Type FleetMetric Aggregation Type - Creation
Date float64 The creation date of a fleet metric
- Description string
The description of a fleet metric
- Index
Name string The index name of a fleet metric
- Last
Modified float64Date The last modified date of a fleet metric
- Metric
Arn string The Amazon Resource Number (ARN) of a fleet metric metric
- Period int
The period of metric emission in seconds
- Query
String string The Fleet Indexing query used by a fleet metric
- Query
Version string The version of a Fleet Indexing query used by a fleet metric
- []Fleet
Metric Tag An array of key-value pairs to apply to this resource
- Unit string
The unit of data points emitted by a fleet metric
- Version float64
The version of a fleet metric
- aggregation
Field String The aggregation field to perform aggregation and metric emission
- aggregation
Type FleetMetric Aggregation Type - creation
Date Double The creation date of a fleet metric
- description String
The description of a fleet metric
- index
Name String The index name of a fleet metric
- last
Modified DoubleDate The last modified date of a fleet metric
- metric
Arn String The Amazon Resource Number (ARN) of a fleet metric metric
- period Integer
The period of metric emission in seconds
- query
String String The Fleet Indexing query used by a fleet metric
- query
Version String The version of a Fleet Indexing query used by a fleet metric
- List<Fleet
Metric Tag> An array of key-value pairs to apply to this resource
- unit String
The unit of data points emitted by a fleet metric
- version Double
The version of a fleet metric
- aggregation
Field string The aggregation field to perform aggregation and metric emission
- aggregation
Type FleetMetric Aggregation Type - creation
Date number The creation date of a fleet metric
- description string
The description of a fleet metric
- index
Name string The index name of a fleet metric
- last
Modified numberDate The last modified date of a fleet metric
- metric
Arn string The Amazon Resource Number (ARN) of a fleet metric metric
- period number
The period of metric emission in seconds
- query
String string The Fleet Indexing query used by a fleet metric
- query
Version string The version of a Fleet Indexing query used by a fleet metric
- Fleet
Metric Tag[] An array of key-value pairs to apply to this resource
- unit string
The unit of data points emitted by a fleet metric
- version number
The version of a fleet metric
- aggregation_
field str The aggregation field to perform aggregation and metric emission
- aggregation_
type FleetMetric Aggregation Type - creation_
date float The creation date of a fleet metric
- description str
The description of a fleet metric
- index_
name str The index name of a fleet metric
- last_
modified_ floatdate The last modified date of a fleet metric
- metric_
arn str The Amazon Resource Number (ARN) of a fleet metric metric
- period int
The period of metric emission in seconds
- query_
string str The Fleet Indexing query used by a fleet metric
- query_
version str The version of a Fleet Indexing query used by a fleet metric
- Sequence[Fleet
Metric Tag] An array of key-value pairs to apply to this resource
- unit str
The unit of data points emitted by a fleet metric
- version float
The version of a fleet metric
- aggregation
Field String The aggregation field to perform aggregation and metric emission
- aggregation
Type Property Map - creation
Date Number The creation date of a fleet metric
- description String
The description of a fleet metric
- index
Name String The index name of a fleet metric
- last
Modified NumberDate The last modified date of a fleet metric
- metric
Arn String The Amazon Resource Number (ARN) of a fleet metric metric
- period Number
The period of metric emission in seconds
- query
String String The Fleet Indexing query used by a fleet metric
- query
Version String The version of a Fleet Indexing query used by a fleet metric
- List<Property Map>
An array of key-value pairs to apply to this resource
- unit String
The unit of data points emitted by a fleet metric
- version Number
The version of a fleet metric
Supporting Types
FleetMetricAggregationType
FleetMetricTag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.