AWS::CodeBuild::Project SourceAuth - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::CodeBuild::Project SourceAuth

SourceAuth is a property of the Amazon CodeBuild Project Source property type that specifies authorization settings for Amazon CodeBuild to access the source code to be built.

SourceAuth is for use by the CodeBuild console only. Do not get or set it directly.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Resource" : String, "Type" : String }

YAML

Resource: String Type: String

Properties

Resource

The resource value that applies to the specified authorization type.

Note

This data type is used by the Amazon CodeBuild console only.

Required: No

Type: String

Update requires: No interruption

Type

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

Note

This data type is used by the Amazon CodeBuild console only.

Required: Yes

Type: String

Allowed values: OAUTH

Update requires: No interruption