Interface MonitoringAlertPolicyConditionsConditionThreshold
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
MonitoringAlertPolicyConditionsConditionThreshold.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:21.927Z") @Stability(Stable) public interface MonitoringAlertPolicyConditionsConditionThreshold extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classMonitoringAlertPolicyConditionsConditionThreshold.BuilderA builder forMonitoringAlertPolicyConditionsConditionThresholdstatic classMonitoringAlertPolicyConditionsConditionThreshold.Jsii$ProxyAn implementation forMonitoringAlertPolicyConditionsConditionThreshold
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static MonitoringAlertPolicyConditionsConditionThreshold.Builderbuilder()default ObjectgetAggregations()aggregations block.StringgetComparison()The comparison to apply between the time series (indicated by filter and aggregation) and the threshold (indicated by threshold_value).default ObjectgetDenominatorAggregations()denominator_aggregations block.default StringgetDenominatorFilter()A filter that identifies a time series that should be used as the denominator of a ratio that will be compared with the threshold.StringgetDuration()The amount of time that a time series must violate the threshold to be considered failing.default StringgetEvaluationMissingData()A condition control that determines how metric-threshold conditions are evaluated when data stops arriving.default StringgetFilter()A filter that identifies which time series should be compared with the threshold.The filter is similar to the one that is specified in the MetricService.ListTimeSeries request (that call is useful to verify the time series that will be retrieved / processed) and must specify the metric type and optionally may contain restrictions on resource type, resource labels, and metric labels.default MonitoringAlertPolicyConditionsConditionThresholdForecastOptionsgetForecastOptions()forecast_options block.default NumbergetThresholdValue()A value against which to compare the time series.default MonitoringAlertPolicyConditionsConditionThresholdTriggergetTrigger()trigger block.
-
-
-
Method Detail
-
getComparison
@Stability(Stable) @NotNull String getComparison()
The comparison to apply between the time series (indicated by filter and aggregation) and the threshold (indicated by threshold_value).The comparison is applied on each time series, with the time series on the left-hand side and the threshold on the right-hand side. Only COMPARISON_LT and COMPARISON_GT are supported currently. Possible values: ["COMPARISON_GT", "COMPARISON_GE", "COMPARISON_LT", "COMPARISON_LE", "COMPARISON_EQ", "COMPARISON_NE"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#comparison MonitoringAlertPolicy#comparison}
-
getDuration
@Stability(Stable) @NotNull String getDuration()
The amount of time that a time series must violate the threshold to be considered failing.Currently, only values that are a multiple of a minute--e.g., 0, 60, 120, or 300 seconds--are supported. If an invalid value is given, an error will be returned. When choosing a duration, it is useful to keep in mind the frequency of the underlying time series data (which may also be affected by any alignments specified in the aggregations field); a good duration is long enough so that a single outlier does not generate spurious alerts, but short enough that unhealthy states are detected and alerted on quickly. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#duration MonitoringAlertPolicy#duration}
-
getAggregations
@Stability(Stable) @Nullable default Object getAggregations()
aggregations block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#aggregations MonitoringAlertPolicy#aggregations}
-
getDenominatorAggregations
@Stability(Stable) @Nullable default Object getDenominatorAggregations()
denominator_aggregations block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#denominator_aggregations MonitoringAlertPolicy#denominator_aggregations}
-
getDenominatorFilter
@Stability(Stable) @Nullable default String getDenominatorFilter()
A filter that identifies a time series that should be used as the denominator of a ratio that will be compared with the threshold.If a denominator_filter is specified, the time series specified by the filter field will be used as the numerator.The filter is similar to the one that is specified in the MetricService.ListTimeSeries request (that call is useful to verify the time series that will be retrieved / processed) and must specify the metric type and optionally may contain restrictions on resource type, resource labels, and metric labels. This field may not exceed 2048 Unicode characters in length. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#denominator_filter MonitoringAlertPolicy#denominator_filter}
-
getEvaluationMissingData
@Stability(Stable) @Nullable default String getEvaluationMissingData()
A condition control that determines how metric-threshold conditions are evaluated when data stops arriving. Possible values: ["EVALUATION_MISSING_DATA_INACTIVE", "EVALUATION_MISSING_DATA_ACTIVE", "EVALUATION_MISSING_DATA_NO_OP"].Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#evaluation_missing_data MonitoringAlertPolicy#evaluation_missing_data}
-
getFilter
@Stability(Stable) @Nullable default String getFilter()
A filter that identifies which time series should be compared with the threshold.The filter is similar to the one that is specified in the MetricService.ListTimeSeries request (that call is useful to verify the time series that will be retrieved / processed) and must specify the metric type and optionally may contain restrictions on resource type, resource labels, and metric labels. This field may not exceed 2048 Unicode characters in length.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#filter MonitoringAlertPolicy#filter}
-
getForecastOptions
@Stability(Stable) @Nullable default MonitoringAlertPolicyConditionsConditionThresholdForecastOptions getForecastOptions()
forecast_options block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#forecast_options MonitoringAlertPolicy#forecast_options}
-
getThresholdValue
@Stability(Stable) @Nullable default Number getThresholdValue()
A value against which to compare the time series.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#threshold_value MonitoringAlertPolicy#threshold_value}
-
getTrigger
@Stability(Stable) @Nullable default MonitoringAlertPolicyConditionsConditionThresholdTrigger getTrigger()
trigger block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#trigger MonitoringAlertPolicy#trigger}
-
builder
@Stability(Stable) static MonitoringAlertPolicyConditionsConditionThreshold.Builder builder()
-
-