Interface ReportGroupProps
- All Superinterfaces:
- software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
- ReportGroupProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
           date="2025-10-29T11:15:34.830Z")
@Stability(Stable)
public interface ReportGroupProps
extends software.amazon.jsii.JsiiSerializable
Construction properties for 
ReportGroup.
 Example:
 Source source;
 // create a new ReportGroup
 ReportGroup reportGroup = ReportGroup.Builder.create(this, "ReportGroup")
         .type(ReportGroupType.CODE_COVERAGE)
         .build();
 Project project = Project.Builder.create(this, "Project")
         .source(source)
         .buildSpec(BuildSpec.fromObject(Map.of(
                 // ...
                 "reports", Map.of(
                         reportGroup.getReportGroupArn(), Map.of(
                                 "files", "**/*",
                                 "base-directory", "build/coverage-report.xml",
                                 "file-format", "JACOCOXML")))))
         .build();
 - 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forReportGroupPropsstatic final classAn implementation forReportGroupProps
- 
Method SummaryModifier and TypeMethodDescriptionstatic ReportGroupProps.Builderbuilder()default BooleanIf true, deleting the report group force deletes the contents of the report group.default IBucketAn optional S3 bucket to export the reports to.default RemovalPolicyWhat to do when this resource is deleted from a stack.default StringThe physical name of the report group.default ReportGroupTypegetType()The type of report group.default BooleanWhether to output the report files into the export bucket as-is, or create a ZIP from them before doing the export.Methods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Method Details- 
getDeleteReportsIf true, deleting the report group force deletes the contents of the report group.If false, the report group must be empty before attempting to delete it. Default: false 
- 
getExportBucketAn optional S3 bucket to export the reports to.Default: - the reports will not be exported 
- 
getRemovalPolicyWhat to do when this resource is deleted from a stack.As CodeBuild does not allow deleting a ResourceGroup that has reports inside of it, this is set to retain the resource by default. Default: RemovalPolicy.RETAIN 
- 
getReportGroupNameThe physical name of the report group.Default: - CloudFormation-generated name 
- 
getTypeThe type of report group. This can be one of the following values:.- TEST - The report group contains test reports.
- CODE_COVERAGE - The report group contains code coverage reports.
 Default: TEST 
- 
getZipExportWhether to output the report files into the export bucket as-is, or create a ZIP from them before doing the export.Ignored if exportBuckethas not been provided.Default: - false (the files will not be ZIPped) 
- 
builder- Returns:
- a ReportGroupProps.BuilderofReportGroupProps
 
 
-