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.104.0 (build e79254c)",
date="2024-11-21T06:34:05.126Z")
@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 Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.codebuild.IReportGroup
IReportGroup.Jsii$Default, IReportGroup.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default
-
Constructor Summary
ModifierConstructorDescriptionprotected
ReportGroup
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
ReportGroup
(software.amazon.jsii.JsiiObjectRef objRef) ReportGroup
(software.constructs.Construct scope, String id) ReportGroup
(software.constructs.Construct scope, String id, ReportGroupProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IReportGroup
fromReportGroupName
(software.constructs.Construct scope, String id, String reportGroupName) Reference an existing ReportGroup, defined outside of the CDK code, by name.protected IBucket
The ARN of the ReportGroup.The name of the ReportGroup.protected ReportGroupType
getType()
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.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResource
Methods inherited from class software.constructs.Construct
getNode, isConstruct, toString
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.constructs.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStack
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
ReportGroup
protected ReportGroup(software.amazon.jsii.JsiiObjectRef objRef) -
ReportGroup
protected 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.
-
grantWrite
Grants the given entity permissions to write (that is, upload reports to) this report group.- Specified by:
grantWrite
in interfaceIReportGroup
- Parameters:
identity
- This parameter is required.
-
getReportGroupArn
The ARN of the ReportGroup.- Specified by:
getReportGroupArn
in interfaceIReportGroup
-
getReportGroupName
The name of the ReportGroup.- Specified by:
getReportGroupName
in interfaceIReportGroup
-
getExportBucket
-
getType
-