# CfnReportGroupProps

Properties for defining a `CfnReportGroup`.

Extends: CfnReportGroupProps
Used as props by: CfnReportGroup

- Source: Generated code

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codebuild as codebuild } from 'aws-cdk-lib';
const cfnReportGroupProps: codebuild.CfnReportGroupProps = {
  exportConfig: {
    exportConfigType: 'exportConfigType',

    // the properties below are optional
    s3Destination: {
      bucket: 'bucket',

      // the properties below are optional
      bucketOwner: 'bucketOwner',
      encryptionDisabled: false,
      encryptionKey: 'encryptionKey',
      packaging: 'packaging',
      path: 'path',
    },
  },
  type: 'type',

  // the properties below are optional
  deleteReports: false,
  name: 'name',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

## Properties

- `deleteReports`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — When deleting a report group, specifies if reports within the report group should be deleted.

  - **true** - Deletes any reports that belong to the report group before deleting the report group.
  - **false** - You must delete any reports in the report group. This is the default value. If you delete a report group that contains one or more reports, an exception is thrown.

- `exportConfig`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnReportGroup.ReportExportConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_codebuild.CfnReportGroup.ReportExportConfigProperty.html) (required) — Information about the destination where the raw data of this `ReportGroup` is exported.

- `name`: string — The name of the `ReportGroup` .

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — A list of tag key and value pairs associated with this report group.

  These tags are available for use by AWS services that support AWS CodeBuild report group tags.

- `type`: string (required) — The type of the `ReportGroup` . This can be one of the following values:.

  - **CODE_COVERAGE** - The report group contains code coverage reports.
  - **TEST** - The report group contains test reports.
