Class: Aws::CodeBuild::Types::SourceAuth
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeBuild::Types::SourceAuth
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-codebuild/types.rb
Overview
Note:
When making an API call, you may pass SourceAuth data as a 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.
Instance Attribute Summary collapse
-
#resource ⇒ String
The resource value that applies to the specified authorization type.
-
#type ⇒ String
<note markdown=“1”> This data type is deprecated and is no longer accurate or used.
Instance Attribute Details
#resource ⇒ String
The resource value that applies to the specified authorization type.
2196 2197 2198 2199 2200 |
# File 'lib/aws-sdk-codebuild/types.rb', line 2196 class SourceAuth < Struct.new( :type, :resource) include Aws::Structure end |
#type ⇒ String
<note markdown=“1”> This data type is deprecated and is no longer accurate or used.
</note>
The authorization type to use. The only valid value is ‘OAUTH`, which represents the OAuth authorization type.
2196 2197 2198 2199 2200 |
# File 'lib/aws-sdk-codebuild/types.rb', line 2196 class SourceAuth < Struct.new( :type, :resource) include Aws::Structure end |