AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

This information is for the CodeBuild console's use only. Your code should not get or set this information directly.

Inheritance Hierarchy

System.Object
  Amazon.CodeBuild.Model.SourceAuth

Namespace: Amazon.CodeBuild.Model
Assembly: AWSSDK.CodeBuild.dll
Version: 3.x.y.z

Syntax

C#
public class SourceAuth

The SourceAuth type exposes the following members

Constructors

NameDescription
Public Method SourceAuth()

Properties

NameTypeDescription
Public Property Resource System.String

Gets and sets the property Resource.

The resource value that applies to the specified authorization type.

Public Property Type Amazon.CodeBuild.SourceAuthType

Gets and sets the property Type.

The authorization type to use. Valid options are OAUTH or CODECONNECTIONS.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5