CodeReviewType - Amazon CodeGuru Reviewer

CodeReviewType

The type of a code review. There are two code review types:

  • PullRequest - A code review that is automatically triggered by a pull request on an associated repository.

  • RepositoryAnalysis - A code review that analyzes all code under a specified branch in an associated repository. The associated repository is specified using its ARN in CreateCodeReview.

Contents

RepositoryAnalysis

A code review that analyzes all code under a specified branch in an associated repository. The associated repository is specified using its ARN in CreateCodeReview.

Type: RepositoryAnalysis object

Required: Yes

AnalysisTypes

They types of analysis performed during a repository analysis or a pull request review. You can specify either Security, CodeQuality, or both.

Type: Array of strings

Valid Values: Security | CodeQuality

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: