@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:04.477Z") @Stability(value=Experimental) public class ReportGroup extends Resource implements IReportGroup
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();
| Modifier and Type | Class and Description |
|---|---|
static class |
ReportGroup.Builder
(experimental) A fluent builder for
ReportGroup. |
software.amazon.jsii.JsiiObject.InitializationModeIReportGroup.Jsii$Default, IReportGroup.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
ReportGroup(software.constructs.Construct scope,
String id) |
|
ReportGroup(software.constructs.Construct scope,
String id,
ReportGroupProps props) |
protected |
ReportGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
ReportGroup(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static IReportGroup |
fromReportGroupName(software.constructs.Construct scope,
String id,
String reportGroupName)
(experimental) Reference an existing ReportGroup, defined outside of the CDK code, by name.
|
protected IBucket |
getExportBucket() |
String |
getReportGroupArn()
(experimental) The ARN of the ReportGroup.
|
String |
getReportGroupName()
(experimental) The name of the ReportGroup.
|
Grant |
grantWrite(IGrantable identity)
(experimental) Grants the given entity permissions to write (that is, upload reports to) this report group.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcegetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackgetNodeprotected ReportGroup(software.amazon.jsii.JsiiObjectRef objRef)
protected ReportGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public ReportGroup(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
ReportGroupProps props)
scope - This parameter is required.id - This parameter is required.props - @Stability(value=Experimental)
public ReportGroup(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - This parameter is required.id - This parameter is required.@Stability(value=Experimental) @NotNull public static IReportGroup fromReportGroupName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String reportGroupName)
scope - This parameter is required.id - This parameter is required.reportGroupName - This parameter is required.@Stability(value=Experimental) @NotNull public Grant grantWrite(@NotNull IGrantable identity)
grantWrite in interface IReportGroupidentity - This parameter is required.@Stability(value=Experimental) @NotNull public String getReportGroupArn()
getReportGroupArn in interface IReportGroup@Stability(value=Experimental) @NotNull public String getReportGroupName()
getReportGroupName in interface IReportGroup@Stability(value=Experimental) @Nullable protected IBucket getExportBucket()
Copyright © 2022. All rights reserved.