Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

AWS CodeBuild Project SourceAuth

The SourceAuth property type specifies authorization settings for AWS CodeBuild to access the source code to be built.

SourceAuth is a property of the AWS CodeBuild Project Source property type.

Note

Your code shouldn't get or set this information directly unless the project's source type is GITHUB.

Syntax

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

JSON

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

YAML

Copy
Type: String Resource: String

Properties

Type

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

Required: Yes

Type: String

Update requires: No interruption

Resource

The resource value that applies to the specified authorization type.

Required: No

Type: String

Update requires: No interruption

On this page: