NotificationRuleArgs class
The set of arguments for NotificationRule. The set of arguments for NotificationRule.
Constructors
-
NotificationRuleArgs({required Input<
String> detailType, required Input<List< eventTypeIds, Input<String> >String?> ? name, Input<String?> ? region, required Input<String> resource, Input<String?> ? status, Input<Map< ? tags, Input<String, String> ?>List< ? targets})NotificationRuleTarget> ?> -
Creates a new NotificationRuleArgs.
detailTypeThe level of detail to include in the notifications for this resource. Possible values areBASICandFULL.eventTypeIdsA list of event types associated with this notification rule.nameThe name of notification rule.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.resourceThe ARN of the resource to associate with the notification rule.statusThe status of the notification rule. Possible values areENABLEDandDISABLED, default isENABLED.tagsA map of tags to assign to the resource. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.targetsConfiguration 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
BASICandFULL.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
ENABLEDandDISABLED, default isENABLED.final -
A map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration 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