Class: CfnGuardian::Models::EKSContainerInsightsNamespaceAlarm
- Inherits:
-
BaseAlarm
- Object
- BaseAlarm
- CfnGuardian::Models::EKSContainerInsightsNamespaceAlarm
- Defined in:
- lib/cfnguardian/models/alarm.rb
Instance Attribute Summary
Attributes inherited from BaseAlarm
#actions_enabled, #additional_notifiers, #alarm_action, #comparison_operator, #datapoints_to_alarm, #dimensions, #enabled, #evaluate_low_sample_count_percentile, #evaluation_periods, #extended_statistic, #group, #maintenance_groups, #metric_name, #name, #namespace, #period, #resource_hash, #resource_id, #resource_name, #statistic, #tags, #threshold, #treat_missing_data, #type, #unit
Instance Method Summary collapse
-
#initialize(resource) ⇒ EKSContainerInsightsNamespaceAlarm
constructor
A new instance of EKSContainerInsightsNamespaceAlarm.
Constructor Details
#initialize(resource) ⇒ EKSContainerInsightsNamespaceAlarm
Returns a new instance of EKSContainerInsightsNamespaceAlarm.
263 264 265 266 267 268 269 270 271 |
# File 'lib/cfnguardian/models/alarm.rb', line 263 def initialize(resource) super(resource) @group = 'EKSContainerInsightsNamespace' @namespace = 'ContainerInsights' @dimensions = { ClusterName: resource['Cluster'], Namespace: resource['Id'] } end |