ReportSettingProperty Struct
Contains detailed information about a report setting.
| Source | |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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" }
};
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
accountsoptionalstring[]accountsoptionaltyping.List[str]accountsoptionalList<String>Accountsoptionalstring[]Accountsoptional*[]*string #These are the accounts to be included in the report.
Use string value of ROOT to include all organizational units.
frameworkArnsoptionalstring[]framework_arnsoptionaltyping.List[str]frameworkArnsoptionalList<String>FrameworkArnsoptionalstring[]FrameworkArnsoptional*[]*string #The Amazon Resource Names (ARNs) of the frameworks a report covers.
organizationUnitsoptionalstring[]organization_unitsoptionaltyping.List[str]organizationUnitsoptionalList<String>OrganizationUnitsoptionalstring[]OrganizationUnitsoptional*[]*string #These are the Organizational Units to be included in the report.
regionsoptionalstring[]regionsoptionaltyping.List[str]regionsoptionalList<String>Regionsoptionalstring[]Regionsoptional*[]*string #These are the Regions to be included in the report.
Use the wildcard as the string value to include all Regions.
reportTemplatestringreport_templatestrreportTemplateStringReportTemplatestringReportTemplate*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