Class: Aws::Assurance::Types::ConnectionProviderConfig

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

Overview

Note:

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

Specifies the evidence source of a connection. Set exactly one member.

Defined Under Namespace

Classes: Github, S3, Sharepoint, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#github ⇒ Types::GitHubConnectionConfig

A GitHub organization or user account.



1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 1042

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

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

#s3 ⇒ Types::S3ConnectionConfig

An Amazon S3 bucket, or a prefix within a bucket.



1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 1042

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

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

#sharepoint ⇒ Types::SharePointConnectionConfig

A SharePoint Online tenant and the sites to read.



1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 1042

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

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

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



1042
1043
1044
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 1042

def unknown
  @unknown
end