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, GitLab, GitLab Self Managed, 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)


5417
5418
5419
5420
5421
5422
5423
5424
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 5417

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

#auth_typeString

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

Returns:

  • (String)


5417
5418
5419
5420
5421
5422
5423
5424
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 5417

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

#resourceString

The connection ARN if your serverType type is GITLAB or GITLAB_SELF_MANAGED and your authType is CODECONNECTIONS.

Returns:

  • (String)


5417
5418
5419
5420
5421
5422
5423
5424
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 5417

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

#server_typeString

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

Returns:

  • (String)


5417
5418
5419
5420
5421
5422
5423
5424
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 5417

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