# ReportSettingProperty

Contains detailed information about a report setting.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_backup as backup } from 'aws-cdk-lib';
const reportSettingProperty: backup.CfnReportPlan.ReportSettingProperty = {
  reportTemplate: 'reportTemplate',

  // the properties below are optional
  accounts: ['accounts'],
  frameworkArns: ['frameworkArns'],
  organizationUnits: ['organizationUnits'],
  regions: ['regions'],
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_backup as backup

report_setting_property = backup.CfnReportPlan.ReportSettingProperty(
    report_template="reportTemplate",

    # the properties below are optional
    accounts=["accounts"],
    framework_arns=["frameworkArns"],
    organization_units=["organizationUnits"],
    regions=["regions"]
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.backup.*;

ReportSettingProperty reportSettingProperty = ReportSettingProperty.builder()
        .reportTemplate("reportTemplate")

        // the properties below are optional
        .accounts(List.of("accounts"))
        .frameworkArns(List.of("frameworkArns"))
        .organizationUnits(List.of("organizationUnits"))
        .regions(List.of("regions"))
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Backup;

var reportSettingProperty = new ReportSettingProperty {
    ReportTemplate = "reportTemplate",

    // the properties below are optional
    Accounts = new [] { "accounts" },
    FrameworkArns = new [] { "frameworkArns" },
    OrganizationUnits = new [] { "organizationUnits" },
    Regions = new [] { "regions" }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

reportSettingProperty := &ReportSettingProperty{
	ReportTemplate: jsii.String("reportTemplate"),

	// the properties below are optional
	Accounts: []*string{
		jsii.String("accounts"),
	},
	FrameworkArns: []*string{
		jsii.String("frameworkArns"),
	},
	OrganizationUnits: []*string{
		jsii.String("organizationUnits"),
	},
	Regions: []*string{
		jsii.String("regions"),
	},
}
```

## Properties

- `accounts`: string[] — These are the accounts to be included in the report.

  Use string value of `ROOT` to include all organizational units.

- `frameworkArns`: string[] — The Amazon Resource Names (ARNs) of the frameworks a report covers.

- `organizationUnits`: string[] — These are the Organizational Units to be included in the report.

- `regions`: string[] — These are the Regions to be included in the report.

  Use the wildcard as the string value to include all Regions.

- `reportTemplate`: string (required) — Identifies the report template for the report. Reports are built using a report template. The report templates are:.

  `RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT | SCAN_JOB_REPORT`
