You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

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

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) of the token.

Returns:

  • (String)


2530
2531
2532
2533
2534
2535
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 2530

class SourceCredentialsInfo < Struct.new(
  :arn,
  :server_type,
  :auth_type)
  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)


2530
2531
2532
2533
2534
2535
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 2530

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

#server_typeString

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

Returns:

  • (String)


2530
2531
2532
2533
2534
2535
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 2530

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