Class ReportGroup
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.Resource
software.amazon.awscdk.services.codebuild.ReportGroup
- All Implemented Interfaces:
IConstruct
,IDependable
,IResource
,IReportGroup
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:41.842Z")
@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.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
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.core.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.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.core.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.constructs.Construct
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.amazon.awscdk.core.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.core.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
-