NotificationRuleArgs class

The set of arguments for NotificationRule. The set of arguments for NotificationRule.

Constructors

NotificationRuleArgs({required Input<String> detailType, required Input<List<String>> eventTypeIds, Input<String?>? name, Input<String?>? region, required Input<String> resource, Input<String?>? status, Input<Map<String, String>?>? tags, Input<List<NotificationRuleTarget>?>? targets})
Creates a new NotificationRuleArgs. detailType The level of detail to include in the notifications for this resource. Possible values are BASIC and FULL. eventTypeIds A list of event types associated with this notification rule. name The name of notification rule. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. resource The ARN of the resource to associate with the notification rule. status The status of the notification rule. Possible values are ENABLED and DISABLED, default is ENABLED. tags A map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. targets Configuration blocks containing notification target information. Can be specified multiple times. At least one target must be specified on creation.
const
NotificationRuleArgs.fromMap(Map<String, dynamic> map)
factory

Properties

detailType → Input<String>
The level of detail to include in the notifications for this resource. Possible values are BASIC and FULL.
final
eventTypeIds → Input<List<String>>
A list of event types associated with this notification rule. For list of allowed events see here.
final
hashCode int
The hash code for this object.
no setterinherited
name → Input<String?>?
The name of notification rule.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
resource → Input<String>
The ARN of the resource to associate with the notification rule.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status → Input<String?>?
The status of the notification rule. Possible values are ENABLED and DISABLED, default is ENABLED.
final
tags → Input<Map<String, String>?>?
A map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
final
targets → Input<List<NotificationRuleTarget>?>?
Configuration blocks containing notification target information. Can be specified multiple times. At least one target must be specified on creation.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited