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.

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

This data type is deprecated and is no longer accurate or used.

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

Possible values:

  • OAUTH

Returns:

  • (String)

    This data type is deprecated and is no longer accurate or used.