CodeArtifacts - Amazon CodeGuru

CodeArtifacts

Code artifacts are source code artifacts and build artifacts used in a repository analysis or a pull request review.

  • Source code artifacts are source code files in a Git repository that are compressed into a .zip file.

  • Build artifacts are .jar or .class files that are compressed in a .zip file.

Contents

BuildArtifactsObjectKey

The S3 object key for a build artifacts .zip file that contains .jar or .class files. This is required for a code review with security analysis. For more information, see Create code reviews with security analysis in the Amazon CodeGuru Reviewer User Guide.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Pattern: ^\S(.*\S)?$

Required: No

SourceCodeArtifactsObjectKey

The S3 object key for a source code .zip file. This is required for all code reviews.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Pattern: ^\S(.*\S)?$

Required: Yes

See Also

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