Class: Aws::RolesAnywhere::Types::NotificationSettingDetail

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

Overview

The state of a notification setting.

A notification setting includes information such as event name, threshold, status of the notification setting, and the channel to notify.

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.

<note markdown=“1”> In the absence of a specific channel, IAM Roles Anywhere applies this setting to ‘ALL’ channels.

</note>

Returns:

  • (String)


560
561
562
563
564
565
566
567
568
# File 'lib/aws-sdk-rolesanywhere/types.rb', line 560

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

#configured_byString

The principal that configured the notification setting. For default settings configured by IAM Roles Anywhere, the value is ‘rolesanywhere.amazonaws.com`, and for customized notifications settings, it is the respective account ID.

Returns:

  • (String)


560
561
562
563
564
565
566
567
568
# File 'lib/aws-sdk-rolesanywhere/types.rb', line 560

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

#enabledBoolean

Indicates whether the notification setting is enabled.

Returns:

  • (Boolean)


560
561
562
563
564
565
566
567
568
# File 'lib/aws-sdk-rolesanywhere/types.rb', line 560

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

#eventString

The event to which this notification setting is applied.

Returns:

  • (String)


560
561
562
563
564
565
566
567
568
# File 'lib/aws-sdk-rolesanywhere/types.rb', line 560

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

#thresholdInteger

The number of days before a notification event.

Returns:

  • (Integer)


560
561
562
563
564
565
566
567
568
# File 'lib/aws-sdk-rolesanywhere/types.rb', line 560

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