Class: Aws::Assurance::Types::ConnectionProviderKey

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

Overview

Note:

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

Identifies a connection by the source that it connects to. Exactly one member is set.

Defined Under Namespace

Classes: Github, S3, Sharepoint, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#github ⇒ Types::GitHubConnectionKey

The account of a GitHub connection.



1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 1076

class ConnectionProviderKey < Struct.new(
  :s3,
  :github,
  :sharepoint,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class S3 < ConnectionProviderKey; end
  class Github < ConnectionProviderKey; end
  class Sharepoint < ConnectionProviderKey; end
  class Unknown < ConnectionProviderKey; end
end

#s3 ⇒ Types::S3ConnectionKey

An Amazon S3 connection, identified by its source URI.



1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 1076

class ConnectionProviderKey < Struct.new(
  :s3,
  :github,
  :sharepoint,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class S3 < ConnectionProviderKey; end
  class Github < ConnectionProviderKey; end
  class Sharepoint < ConnectionProviderKey; end
  class Unknown < ConnectionProviderKey; end
end

#sharepoint ⇒ Types::SharePointConnectionKey

The tenant of a SharePoint connection.



1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 1076

class ConnectionProviderKey < Struct.new(
  :s3,
  :github,
  :sharepoint,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class S3 < ConnectionProviderKey; end
  class Github < ConnectionProviderKey; end
  class Sharepoint < ConnectionProviderKey; end
  class Unknown < ConnectionProviderKey; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



1076
1077
1078
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 1076

def unknown
  @unknown
end