Skip to content
v2.278.0

CfnReportPlanProps Struct ​

Properties for defining a CfnReportPlan.

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

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
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
// 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();
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
// 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 ​

reportDeliveryChannelanyreport_delivery_channelAnyreportDeliveryChannelObjectReportDeliveryChannelobjectReportDeliveryChannelinterface{} 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.
reportPlanDescriptionoptionalstringreport_plan_descriptionoptionalstrreportPlanDescriptionoptionalStringReportPlanDescriptionoptionalstringReportPlanDescriptionoptional*string #
An optional description of the report plan with a maximum 1,024 characters.
reportPlanNameoptionalstringreport_plan_nameoptionalstrreportPlanNameoptionalStringReportPlanNameoptionalstringReportPlanNameoptional*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 (_).

reportPlanTagsoptionalCfnTag[]report_plan_tagsoptionaltyping.List[CfnTag]reportPlanTagsoptionalList<CfnTag>ReportPlanTagsoptionalCfnTag[]ReportPlanTagsoptional*[]CfnTag #
The tags to assign to your report plan.
reportSettinganyreport_settingAnyreportSettingObjectReportSettingobjectReportSettinginterface{} required #
Identifies the report template for the report. Reports are built using a report template. The report templates are:.
notes

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.