Class: Aws::CodeBuild::Types::SourceCredentialsInfo

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

Overview

Information about the credentials for a GitHub, GitHub Enterprise, or Bitbucket repository.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) of the token.

Returns:

  • (String)


5373
5374
5375
5376
5377
5378
5379
# File 'lib/aws-sdk-codebuild/types.rb', line 5373

class SourceCredentialsInfo < Struct.new(
  :arn,
  :server_type,
  :auth_type)
  SENSITIVE = []
  include Aws::Structure
end

#auth_typeString

The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, or PERSONAL_ACCESS_TOKEN.

Returns:

  • (String)


5373
5374
5375
5376
5377
5378
5379
# File 'lib/aws-sdk-codebuild/types.rb', line 5373

class SourceCredentialsInfo < Struct.new(
  :arn,
  :server_type,
  :auth_type)
  SENSITIVE = []
  include Aws::Structure
end

#server_typeString

The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, or BITBUCKET.

Returns:

  • (String)


5373
5374
5375
5376
5377
5378
5379
# File 'lib/aws-sdk-codebuild/types.rb', line 5373

class SourceCredentialsInfo < Struct.new(
  :arn,
  :server_type,
  :auth_type)
  SENSITIVE = []
  include Aws::Structure
end