@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.365Z") @Stability(value=Stable) public interface ReportGroupProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
ReportGroupProps.Builder
A builder for
ReportGroupProps |
static class |
ReportGroupProps.Jsii$Proxy
An implementation for
ReportGroupProps |
| Modifier and Type | Method and Description |
|---|---|
static ReportGroupProps.Builder |
builder() |
default IBucket |
getExportBucket()
An optional S3 bucket to export the reports to.
|
default RemovalPolicy |
getRemovalPolicy()
What to do when this resource is deleted from a stack.
|
default String |
getReportGroupName()
The physical name of the report group.
|
default ReportGroupType |
getType()
The type of report group.
|
default Boolean |
getZipExport()
Whether to output the report files into the export bucket as-is, or create a ZIP from them before doing the export.
|
@Stability(value=Stable) @Nullable default IBucket getExportBucket()
Default: - the reports will not be exported
@Stability(value=Stable) @Nullable default RemovalPolicy getRemovalPolicy()
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
@Stability(value=Stable) @Nullable default String getReportGroupName()
Default: - CloudFormation-generated name
@Stability(value=Stable) @Nullable default ReportGroupType getType()
Default: TEST
@Stability(value=Stable) @Nullable default Boolean getZipExport()
Ignored if {@link exportBucket} has not been provided.
Default: - false (the files will not be ZIPped)
@Stability(value=Stable) static ReportGroupProps.Builder builder()
ReportGroupProps.Builder of ReportGroupPropsCopyright © 2022. All rights reserved.