Class: Aws::SSMIncidents::Types::NotificationTargetItem

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

Overview

Note:

NotificationTargetItem is a union - when making an API calls you must set exactly one of the members.

Note:

NotificationTargetItem is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of NotificationTargetItem corresponding to the set member.

The SNS targets that are notified when updates are made to an incident.

Direct Known Subclasses

SnsTopicArn, Unknown

Defined Under Namespace

Classes: SnsTopicArn, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#sns_topic_arnString

The Amazon Resource Name (ARN) of the SNS topic.

Returns:

  • (String)


1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb', line 1708

class NotificationTargetItem < Struct.new(
  :sns_topic_arn,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class SnsTopicArn < NotificationTargetItem; end
  class Unknown < NotificationTargetItem; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



1708
1709
1710
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb', line 1708

def unknown
  @unknown
end