NotificationRuleArgs constructor

const NotificationRuleArgs({
  1. required Input<String> detailType,
  2. required Input<List<String>> eventTypeIds,
  3. Input<String?>? name,
  4. Input<String?>? region,
  5. required Input<String> resource,
  6. Input<String?>? status,
  7. Input<Map<String, String>?>? tags,
  8. 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.

Implementation

const NotificationRuleArgs({
  required this.detailType,
  required this.eventTypeIds,
  this.name,
  this.region,
  required this.resource,
  this.status,
  this.tags,
  this.targets,
});