Class ReportGroup
The ReportGroup resource class.
Inherited Members
Namespace: Amazon.CDK.AWS.CodeBuild
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ReportGroup : Resource, IReportGroup, IResource
Syntax (vb)
Public Class ReportGroup
Inherits Resource
Implements IReportGroup, IResource
Remarks
ExampleMetadata: infused
Examples
Source source;
// create a new ReportGroup
var reportGroup = new ReportGroup(this, "ReportGroup");
var project = new Project(this, "Project", new ProjectProps {
Source = source,
BuildSpec = BuildSpec.FromObject(new Dictionary<string, object> {
// ...
{ "reports", new Dictionary<string, IDictionary<string, string>> {
{ reportGroup.ReportGroupArn, new Struct {
Files = "**/*",
Base-directory = "build/test-results"
} }
} }
})
});
Synopsis
Constructors
ReportGroup(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
ReportGroup(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
ReportGroup(Construct, String, IReportGroupProps) |
Properties
ExportBucket | |
ReportGroupArn | The ARN of the ReportGroup. |
ReportGroupName | The name of the ReportGroup. |
Type |
Methods
FromReportGroupName(Construct, String, String) | Reference an existing ReportGroup, defined outside of the CDK code, by name. |
GrantWrite(IGrantable) | Grants the given entity permissions to write (that is, upload reports to) this report group. |
Constructors
ReportGroup(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected ReportGroup(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
ReportGroup(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected ReportGroup(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
ReportGroup(Construct, String, IReportGroupProps)
public ReportGroup(Construct scope, string id, IReportGroupProps props = null)
Parameters
- scope Constructs.Construct
- id System.String
- props IReportGroupProps
Properties
ExportBucket
ReportGroupArn
The ARN of the ReportGroup.
public virtual string ReportGroupArn { get; }
Property Value
System.String
ReportGroupName
The name of the ReportGroup.
public virtual string ReportGroupName { get; }
Property Value
System.String
Type
protected virtual Nullable<ReportGroupType> Type { get; }
Property Value
System.Nullable<ReportGroupType>
Methods
FromReportGroupName(Construct, String, String)
Reference an existing ReportGroup, defined outside of the CDK code, by name.
public static IReportGroup FromReportGroupName(Construct scope, string id, string reportGroupName)
Parameters
- scope Constructs.Construct
- id System.String
- reportGroupName System.String
Returns
GrantWrite(IGrantable)
Grants the given entity permissions to write (that is, upload reports to) this report group.
public virtual Grant GrantWrite(IGrantable identity)
Parameters
- identity IGrantable
Returns