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

Class: Aws::CodeBuild::Types::SourceAuth

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing SourceAuth as input to an Aws::Client method, you can use a vanilla Hash:

{
  type: "OAUTH", # required, accepts OAUTH
  resource: "String",
}

Information about the authorization settings for AWS CodeBuild to access the source code to be built.

This information is for the AWS CodeBuild console's use only. Your code should not get or set this information directly (unless the build project's source type value is BITBUCKET or GITHUB).

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#resourceString

The resource value that applies to the specified authorization type.

Returns:

  • (String)

    The resource value that applies to the specified authorization type.

#typeString

The authorization type to use. The only valid value is OAUTH, which represents the OAuth authorization type.

Possible values:

  • OAUTH

Returns:

  • (String)

    The authorization type to use.