Class: Aws::CodeStarNotifications::Types::Target

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

Overview

Note:

When making an API call, you may pass Target data as a hash:

{
  target_type: "TargetType",
  target_address: "TargetAddress",
}

Information about the SNS topics associated with a notification rule.

Constant Summary collapse

SENSITIVE =
[:target_address]

Instance Attribute Summary collapse

Instance Attribute Details

#target_addressString

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

Returns:

  • (String)


846
847
848
849
850
851
# File 'gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications/types.rb', line 846

class Target < Struct.new(
  :target_type,
  :target_address)
  SENSITIVE = [:target_address]
  include Aws::Structure
end

#target_typeString

The target type. Can be an Amazon SNS topic.

Returns:

  • (String)


846
847
848
849
850
851
# File 'gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications/types.rb', line 846

class Target < Struct.new(
  :target_type,
  :target_address)
  SENSITIVE = [:target_address]
  include Aws::Structure
end