Class: Aws::RolesAnywhere::Types::NotificationSetting

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/types.rb

Overview

Customizable notification settings that will be applied to notification events. IAM Roles Anywhere consumes these settings while notifying across multiple channels - CloudWatch metrics, EventBridge, and Health Dashboard.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#channelString

The specified channel of notification. IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and Health Dashboard to notify for an event.

In the absence of a specific channel, IAM Roles Anywhere applies this setting to 'ALL' channels.

Returns:

  • (String)


428
429
430
431
432
433
434
435
# File 'gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/types.rb', line 428

class NotificationSetting < Struct.new(
  :channel,
  :enabled,
  :event,
  :threshold)
  SENSITIVE = []
  include Aws::Structure
end

#enabledBoolean

Indicates whether the notification setting is enabled.

Returns:

  • (Boolean)


428
429
430
431
432
433
434
435
# File 'gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/types.rb', line 428

class NotificationSetting < Struct.new(
  :channel,
  :enabled,
  :event,
  :threshold)
  SENSITIVE = []
  include Aws::Structure
end

#eventString

The event to which this notification setting is applied.

Returns:

  • (String)


428
429
430
431
432
433
434
435
# File 'gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/types.rb', line 428

class NotificationSetting < Struct.new(
  :channel,
  :enabled,
  :event,
  :threshold)
  SENSITIVE = []
  include Aws::Structure
end

#thresholdInteger

The number of days before a notification event. This value is required for a notification setting that is enabled.

Returns:

  • (Integer)


428
429
430
431
432
433
434
435
# File 'gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/types.rb', line 428

class NotificationSetting < Struct.new(
  :channel,
  :enabled,
  :event,
  :threshold)
  SENSITIVE = []
  include Aws::Structure
end