Class ReportGroup
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.codebuild.ReportGroup
- All Implemented Interfaces:
- IResource,- IReportGroup,- software.amazon.jsii.JsiiSerializable,- software.constructs.IConstruct,- software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
           date="2025-10-29T11:15:34.829Z")
@Stability(Stable)
public class ReportGroup
extends Resource
implements IReportGroup
The ReportGroup resource class.
 
Example:
 Source source;
 // create a new ReportGroup
 ReportGroup reportGroup = new ReportGroup(this, "ReportGroup");
 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/test-results")))))
         .build();
 - 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObjectsoftware.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstructsoftware.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.codebuild.IReportGroupIReportGroup.Jsii$Default, IReportGroup.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResourceIResource.Jsii$Default
- 
Field SummaryFields
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedReportGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedReportGroup(software.amazon.jsii.JsiiObjectRef objRef) ReportGroup(software.constructs.Construct scope, String id) ReportGroup(software.constructs.Construct scope, String id, ReportGroupProps props) 
- 
Method SummaryModifier and TypeMethodDescriptionstatic IReportGroupfromReportGroupName(software.constructs.Construct scope, String id, String reportGroupName) Reference an existing ReportGroup, defined outside of the CDK code, by name.protected IBucketThe ARN of the ReportGroup.The name of the ReportGroup.protected ReportGroupTypegetType()grantWrite(IGrantable identity) Grants the given entity permissions to write (that is, upload reports to) this report group.Methods inherited from class software.amazon.awscdk.ResourceapplyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourceMethods inherited from class software.constructs.ConstructgetNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObjectjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstructgetNodeMethods inherited from interface software.amazon.awscdk.IResourceapplyRemovalPolicy, getEnv, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Field Details- 
PROPERTY_INJECTION_IDUniquely identifies this class.
 
- 
- 
Constructor Details- 
ReportGroupprotected ReportGroup(software.amazon.jsii.JsiiObjectRef objRef) 
- 
ReportGroupprotected ReportGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) 
- 
ReportGroup@Stability(Stable) public ReportGroup(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable ReportGroupProps props) - Parameters:
- scope- This parameter is required.
- id- This parameter is required.
- props-
 
- 
ReportGroup@Stability(Stable) public ReportGroup(@NotNull software.constructs.Construct scope, @NotNull String id) - Parameters:
- scope- This parameter is required.
- id- This parameter is required.
 
 
- 
- 
Method Details- 
fromReportGroupName@Stability(Stable) @NotNull public static IReportGroup fromReportGroupName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String reportGroupName) Reference an existing ReportGroup, defined outside of the CDK code, by name.- Parameters:
- scope- This parameter is required.
- id- This parameter is required.
- reportGroupName- This parameter is required.
 
- 
grantWriteGrants the given entity permissions to write (that is, upload reports to) this report group.- Specified by:
- grantWritein interface- IReportGroup
- Parameters:
- identity- This parameter is required.
 
- 
getReportGroupArnThe ARN of the ReportGroup.- Specified by:
- getReportGroupArnin interface- IReportGroup
 
- 
getReportGroupNameThe name of the ReportGroup.- Specified by:
- getReportGroupNamein interface- IReportGroup
 
- 
getExportBucket
- 
getType
 
-