interface IReportGroup
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CodeBuild.IReportGroup |
Java | software.amazon.awscdk.services.codebuild.IReportGroup |
Python | aws_cdk.aws_codebuild.IReportGroup |
TypeScript (source) | @aws-cdk/aws-codebuild » IReportGroup |
Implemented by
Report
Obtainable from
Report
.fromReportGroupName()
The interface representing the ReportGroup resource - either an existing one, imported using the {@link ReportGroup.fromReportGroupName} method, or a new one, created with the {@link ReportGroup} class.
Properties
Name | Type | Description |
---|---|---|
env | Resource | The environment this resource belongs to. |
node | Construct | The construct tree node for this construct. |
report | string | The ARN of the ReportGroup. |
report | string | The name of the ReportGroup. |
stack | Stack | The stack in which this resource is defined. |
env
Type:
Resource
The environment this resource belongs to.
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
node
Type:
Construct
The construct tree node for this construct.
reportGroupArn
Type:
string
The ARN of the ReportGroup.
reportGroupName
Type:
string
The name of the ReportGroup.
stack
Type:
Stack
The stack in which this resource is defined.
Methods
Name | Description |
---|---|
apply | Apply the given removal policy to this resource. |
grant | Grants the given entity permissions to write (that is, upload reports to) this report group. |
RemovalPolicy(policy)
applypublic applyRemovalPolicy(policy: RemovalPolicy): void
Parameters
- policy
Removal
Policy
Apply the given removal policy to this resource.
The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced.
The resource can be deleted (RemovalPolicy.DESTROY
), or left in your AWS
account for data recovery and cleanup later (RemovalPolicy.RETAIN
).
Write(identity)
grantpublic grantWrite(identity: IGrantable): Grant
Parameters
- identity
IGrantable
Returns
Grants the given entity permissions to write (that is, upload reports to) this report group.