@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:45.058Z") 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
A fluent builder for
ReportGroup . |
IReportGroup.Jsii$Default, IReportGroup.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
ReportGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
ReportGroup(software.amazon.jsii.JsiiObjectRef objRef) |
|
ReportGroup(software.constructs.Construct scope,
java.lang.String id) |
|
ReportGroup(software.constructs.Construct scope,
java.lang.String id,
ReportGroupProps props) |
Modifier and Type | Method and Description |
---|---|
static IReportGroup |
fromReportGroupName(software.constructs.Construct scope,
java.lang.String id,
java.lang.String reportGroupName)
Reference an existing ReportGroup, defined outside of the CDK code, by name.
|
protected IBucket |
getExportBucket() |
java.lang.String |
getReportGroupArn()
The ARN of the ReportGroup.
|
java.lang.String |
getReportGroupName()
The name of the ReportGroup.
|
Grant |
grantWrite(IGrantable identity)
Grants the given entity permissions to write (that is, upload reports to) this report group.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyRemovalPolicy, getEnv, getStack
getNode
protected ReportGroup(software.amazon.jsii.JsiiObjectRef objRef)
protected ReportGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public ReportGroup(software.constructs.Construct scope, java.lang.String id, ReportGroupProps props)
scope
- This parameter is required.id
- This parameter is required.props
- public ReportGroup(software.constructs.Construct scope, java.lang.String id)
scope
- This parameter is required.id
- This parameter is required.public static IReportGroup fromReportGroupName(software.constructs.Construct scope, java.lang.String id, java.lang.String reportGroupName)
scope
- This parameter is required.id
- This parameter is required.reportGroupName
- This parameter is required.public Grant grantWrite(IGrantable identity)
grantWrite
in interface IReportGroup
identity
- This parameter is required.public java.lang.String getReportGroupArn()
getReportGroupArn
in interface IReportGroup
public java.lang.String getReportGroupName()
getReportGroupName
in interface IReportGroup
protected IBucket getExportBucket()