Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resource ¶
type Resource struct { // Indicates whether actions should be executed during any changes to the alarm state. The default is TRUE. ActionsEnabled bool `json:"ActionsEnabled,omitempty"` // Actions will be suppressed if the suppressor alarm is in the ALARM state. ActionsSuppressor can be an AlarmName or an Amazon Resource Name (ARN) from an existing alarm. ActionsSuppressor string `json:"ActionsSuppressor,omitempty"` // Actions will be suppressed if WaitPeriod is active. The length of time that actions are suppressed is in seconds. ActionsSuppressorExtensionPeriod int `json:"ActionsSuppressorExtensionPeriod,omitempty"` // Actions will be suppressed if ExtensionPeriod is active. The length of time that actions are suppressed is in seconds. ActionsSuppressorWaitPeriod int `json:"ActionsSuppressorWaitPeriod,omitempty"` // The list of actions to execute when this alarm transitions into an ALARM state from any other state. Specify each action as an Amazon Resource Name (ARN). AlarmActions []string `json:"AlarmActions,omitempty"` // The description of the alarm AlarmDescription string `json:"AlarmDescription,omitempty"` // The name of the Composite Alarm AlarmName string `json:"AlarmName,omitempty"` // Expression which aggregates the state of other Alarms (Metric or Composite Alarms) AlarmRule string `json:"AlarmRule"` // Amazon Resource Name (ARN) of the alarm Arn string `json:"Arn,omitempty"` // The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN). InsufficientDataActions []string `json:"InsufficientDataActions,omitempty"` // The actions to execute when this alarm transitions to the OK state from any other state. Each action is specified as an Amazon Resource Name (ARN). OKActions []string `json:"OKActions,omitempty"` }
Resource The AWS::CloudWatch::CompositeAlarm type specifies an alarm which aggregates the states of other Alarms (Metric or Composite Alarms) as defined by the AlarmRule expression
func (*Resource) MarshalJSON ¶
func (*Resource) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.