CompositeAlarmState constructor
- Input<
bool?> ? actionsEnabled, - Input<
CompositeAlarmActionsSuppressor?> ? actionsSuppressor, - Input<
List< ? alarmActions,String> ?> - Input<
String?> ? alarmDescription, - Input<
String?> ? alarmName, - Input<
String?> ? alarmRule, - Input<
String?> ? arn, - Input<
List< ? insufficientDataActions,String> ?> - Input<
List< ? okActions,String> ?> - Input<
String?> ? region, - Input<
Map< ? tags,String, String> ?> - Input<
Map< ? tagsAll,String, String> ?>
Creates a new CompositeAlarmState.
actionsEnabled Indicates whether actions should be executed during any changes to the alarm state of the composite alarm. Defaults to true.
actionsSuppressor Actions will be suppressed if the suppressor alarm is in the ALARM state.
alarmActions The set of actions to execute when this alarm transitions to the ALARM state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed.
alarmDescription The description for the composite alarm.
alarmName The name for the composite alarm. This name must be unique within the region.
alarmRule An expression that specifies which other alarms are to be evaluated to determine this composite alarm's state. For syntax, see Creating a Composite Alarm. The maximum length is 10240 characters.
arn The ARN of the composite alarm.
insufficientDataActions The set of actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed.
okActions The set of actions to execute when this alarm transitions to an OK state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
tags A map of tags to associate with the alarm. Up to 50 tags are allowed. .If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
Implementation
const CompositeAlarmState({
this.actionsEnabled,
this.actionsSuppressor,
this.alarmActions,
this.alarmDescription,
this.alarmName,
this.alarmRule,
this.arn,
this.insufficientDataActions,
this.okActions,
this.region,
this.tags,
this.tagsAll,
});