/AWS1/CL_GURCODEARTIFACTS¶
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.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_sourcecodeartifactsobjkey TYPE /AWS1/GURSRCCODEARTIFACTSOBJ00 /AWS1/GURSRCCODEARTIFACTSOBJ00¶
The S3 object key for a source code .zip file. This is required for all code reviews.
Optional arguments:¶
iv_buildartifactsobjectkey TYPE /AWS1/GURBUILDARTIFACTSOBJKEY /AWS1/GURBUILDARTIFACTSOBJKEY¶
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 GitHub Actions in the Amazon CodeGuru Reviewer User Guide.
Queryable Attributes¶
SourceCodeArtifactsObjectKey¶
The S3 object key for a source code .zip file. This is required for all code reviews.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SRCCODEARTIFACTSOBJKEY() |
Getter for SOURCECODEARTIFACTSOBJECTKEY, with configurable d |
ASK_SRCCODEARTIFACTSOBJKEY() |
Getter for SOURCECODEARTIFACTSOBJECTKEY w/ exceptions if fie |
HAS_SRCCODEARTIFACTSOBJKEY() |
Determine if SOURCECODEARTIFACTSOBJECTKEY has a value |
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 GitHub Actions in the Amazon CodeGuru Reviewer User Guide.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_BUILDARTIFACTSOBJECTKEY() |
Getter for BUILDARTIFACTSOBJECTKEY, with configurable defaul |
ASK_BUILDARTIFACTSOBJECTKEY() |
Getter for BUILDARTIFACTSOBJECTKEY w/ exceptions if field ha |
HAS_BUILDARTIFACTSOBJECTKEY() |
Determine if BUILDARTIFACTSOBJECTKEY has a value |