Class: Aws::CostExplorer::Types::AnomalyMonitor
- Inherits:
-
Struct
- Object
- Struct
- Aws::CostExplorer::Types::AnomalyMonitor
- Defined in:
- gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb
Overview
This object continuously inspects your account's cost data for
anomalies. It's based on MonitorType and MonitorSpecification.
The content consists of detailed metadata and the current status of
the monitor object.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#creation_date ⇒ String
The date when the monitor was created.
-
#dimensional_value_count ⇒ Integer
The value for evaluated dimensions.
-
#last_evaluated_date ⇒ String
The date when the monitor last evaluated for anomalies.
-
#last_updated_date ⇒ String
The date when the monitor was last updated.
-
#monitor_arn ⇒ String
The Amazon Resource Name (ARN) value.
-
#monitor_dimension ⇒ String
For customer managed monitors, do not specify this field.
-
#monitor_name ⇒ String
The name of the monitor.
-
#monitor_specification ⇒ Types::Expression
An [Expression][1] object used to control what costs the monitor analyzes for anomalies.
-
#monitor_type ⇒ String
The type of the monitor.
Instance Attribute Details
#creation_date ⇒ String
The date when the monitor was created.
258 259 260 261 262 263 264 265 266 267 268 269 270 |
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 258 class AnomalyMonitor < Struct.new( :monitor_arn, :monitor_name, :creation_date, :last_updated_date, :last_evaluated_date, :monitor_type, :monitor_dimension, :monitor_specification, :dimensional_value_count) SENSITIVE = [] include Aws::Structure end |
#dimensional_value_count ⇒ Integer
The value for evaluated dimensions.
258 259 260 261 262 263 264 265 266 267 268 269 270 |
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 258 class AnomalyMonitor < Struct.new( :monitor_arn, :monitor_name, :creation_date, :last_updated_date, :last_evaluated_date, :monitor_type, :monitor_dimension, :monitor_specification, :dimensional_value_count) SENSITIVE = [] include Aws::Structure end |
#last_evaluated_date ⇒ String
The date when the monitor last evaluated for anomalies.
258 259 260 261 262 263 264 265 266 267 268 269 270 |
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 258 class AnomalyMonitor < Struct.new( :monitor_arn, :monitor_name, :creation_date, :last_updated_date, :last_evaluated_date, :monitor_type, :monitor_dimension, :monitor_specification, :dimensional_value_count) SENSITIVE = [] include Aws::Structure end |
#last_updated_date ⇒ String
The date when the monitor was last updated.
258 259 260 261 262 263 264 265 266 267 268 269 270 |
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 258 class AnomalyMonitor < Struct.new( :monitor_arn, :monitor_name, :creation_date, :last_updated_date, :last_evaluated_date, :monitor_type, :monitor_dimension, :monitor_specification, :dimensional_value_count) SENSITIVE = [] include Aws::Structure end |
#monitor_arn ⇒ String
The Amazon Resource Name (ARN) value.
258 259 260 261 262 263 264 265 266 267 268 269 270 |
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 258 class AnomalyMonitor < Struct.new( :monitor_arn, :monitor_name, :creation_date, :last_updated_date, :last_evaluated_date, :monitor_type, :monitor_dimension, :monitor_specification, :dimensional_value_count) SENSITIVE = [] include Aws::Structure end |
#monitor_dimension ⇒ String
For customer managed monitors, do not specify this field.
For Amazon Web Services managed monitors, this field controls which
cost dimension is automatically analyzed by the monitor. For TAG
and COST_CATEGORY dimensions, you must also specify
MonitorSpecification to configure the specific tag or cost category
key to analyze.
258 259 260 261 262 263 264 265 266 267 268 269 270 |
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 258 class AnomalyMonitor < Struct.new( :monitor_arn, :monitor_name, :creation_date, :last_updated_date, :last_evaluated_date, :monitor_type, :monitor_dimension, :monitor_specification, :dimensional_value_count) SENSITIVE = [] include Aws::Structure end |
#monitor_name ⇒ String
The name of the monitor.
258 259 260 261 262 263 264 265 266 267 268 269 270 |
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 258 class AnomalyMonitor < Struct.new( :monitor_arn, :monitor_name, :creation_date, :last_updated_date, :last_evaluated_date, :monitor_type, :monitor_dimension, :monitor_specification, :dimensional_value_count) SENSITIVE = [] include Aws::Structure end |
#monitor_specification ⇒ Types::Expression
An Expression object used to control what costs the monitor analyzes for anomalies.
For Amazon Web Services managed monitors:
If MonitorDimension is
SERVICEorLINKED_ACCOUNT, do not specify this fieldIf MonitorDimension is
TAG, set this field to{ "Tags": { "Key": "your tag key" } }If MonitorDimension is
COST_CATEGORY, set this field to{ "CostCategories": { "Key": "your cost category key" } }
For customer managed monitors:
To track linked accounts, set this field to
{ "Dimensions": { "Key": "LINKED_ACCOUNT", "Values": [ "your list of up to 10 account IDs" ] } }To track cost allocation tags, set this field to
{ "Tags": { "Key": "your tag key", "Values": [ "your list of up to 10 tag values" ] } }To track cost categories, set this field to
{ "CostCategories": { "Key": "your cost category key", "Values": [ "your cost category value" ] } }
258 259 260 261 262 263 264 265 266 267 268 269 270 |
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 258 class AnomalyMonitor < Struct.new( :monitor_arn, :monitor_name, :creation_date, :last_updated_date, :last_evaluated_date, :monitor_type, :monitor_dimension, :monitor_specification, :dimensional_value_count) SENSITIVE = [] include Aws::Structure end |
#monitor_type ⇒ String
The type of the monitor.
Set this to DIMENSIONAL for an Amazon Web Services managed
monitor. Amazon Web Services managed monitors automatically track up
to the top 5,000 values by cost within a dimension of your choosing.
Each dimension value is evaluated independently. If you start
incurring cost in a new value of your chosen dimension, it will
automatically be analyzed by an Amazon Web Services managed monitor.
Set this to CUSTOM for a customer managed monitor. Customer
managed monitors let you select specific dimension values that get
monitored in aggregate.
For more information about monitor types, see Monitor types in the Billing and Cost Management User Guide.
258 259 260 261 262 263 264 265 266 267 268 269 270 |
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 258 class AnomalyMonitor < Struct.new( :monitor_arn, :monitor_name, :creation_date, :last_updated_date, :last_evaluated_date, :monitor_type, :monitor_dimension, :monitor_specification, :dimensional_value_count) SENSITIVE = [] include Aws::Structure end |