Skip to content
v2.273.0

CfnReportGroupProps Struct ​

Properties for defining a CfnReportGroup.

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 ​

deleteReportsboolean | IResolvabledelete_reportstyping.Union[bool, IResolvable]deleteReportsBooleanDeleteReportsboolDeleteReportsinterface{}#
When deleting a report group, specifies if reports within the report group should be deleted.
notes
  • 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.
exportConfigIResolvable | CfnReportGroup.ReportExportConfigPropertyexport_configtyping.Union[IResolvable, ReportExportConfigProperty]exportConfigIResolvableExportConfigIResolvableExportConfiginterface{}required#
Information about the destination where the raw data of this `ReportGroup` is exported.
namestringnamestrnameStringNamestringName*string#
The name of the `ReportGroup` .
tagsCfnTag[]tagstyping.List[CfnTag]tagsList<CfnTag>TagsCfnTag[]Tags*[]CfnTag#
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.

typestringtypestrtypeStringTypestringType*stringrequired#
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.

Used as props by ​