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).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

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.

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.

Required: No

Type: String

Update requires: No interruption

Type

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

Required: Yes

Type: String

Allowed values: OAUTH | CODECONNECTIONS | SECRETS_MANAGER

Update requires: No interruption