# CfnReportPlanProps

Struct · External

Properties for defining a `CfnReportPlan`.

Used as props by: [CfnReportPlan](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_backup.CfnReportPlan.html)

- Source: Generated at build time
- Type last changed: v2.131.0 · 1 Mar 2024

## 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';

declare const reportDeliveryChannel: any;
declare const reportSetting: any;
const cfnReportPlanProps: backup.CfnReportPlanProps = {
  reportDeliveryChannel: reportDeliveryChannel,
  reportSetting: reportSetting,

  // the properties below are optional
  reportPlanDescription: 'reportPlanDescription',
  reportPlanName: 'reportPlanName',
  reportPlanTags: [{
    key: 'key',
    value: 'value',
  }],
};
```

Python:

```python
from aws_cdk import CfnTag
# 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_delivery_channel: Any
# report_setting: Any

cfn_report_plan_props = backup.CfnReportPlanProps(
    report_delivery_channel=report_delivery_channel,
    report_setting=report_setting,

    # the properties below are optional
    report_plan_description="reportPlanDescription",
    report_plan_name="reportPlanName",
    report_plan_tags=[CfnTag(
        key="key",
        value="value"
    )]
)
```

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.*;

Object reportDeliveryChannel;
Object reportSetting;

CfnReportPlanProps cfnReportPlanProps = CfnReportPlanProps.builder()
        .reportDeliveryChannel(reportDeliveryChannel)
        .reportSetting(reportSetting)

        // the properties below are optional
        .reportPlanDescription("reportPlanDescription")
        .reportPlanName("reportPlanName")
        .reportPlanTags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .build();
```

C#:

```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 reportDeliveryChannel;
var reportSetting;

var cfnReportPlanProps = new CfnReportPlanProps {
    ReportDeliveryChannel = reportDeliveryChannel,
    ReportSetting = reportSetting,

    // the properties below are optional
    ReportPlanDescription = "reportPlanDescription",
    ReportPlanName = "reportPlanName",
    ReportPlanTags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
```

Go:

```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"

var reportDeliveryChannel interface{}
var reportSetting interface{}

cfnReportPlanProps := &CfnReportPlanProps{
	ReportDeliveryChannel: reportDeliveryChannel,
	ReportSetting: reportSetting,

	// the properties below are optional
	ReportPlanDescription: jsii.String("reportPlanDescription"),
	ReportPlanName: jsii.String("reportPlanName"),
	ReportPlanTags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}
```

## Properties

- `reportDeliveryChannel`: any (required) — Contains information about where and how to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports.

- `reportPlanDescription`: string — An optional description of the report plan with a maximum 1,024 characters.

- `reportPlanName`: string — The unique name of the report plan.

  This name is between 1 and 256 characters starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).

- `reportPlanTags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The tags to assign to your report plan.

- `reportSetting`: any (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`

  If the report template is `RESOURCE_COMPLIANCE_REPORT` or `CONTROL_COMPLIANCE_REPORT` , this API resource also describes the report coverage by AWS Regions and frameworks.
