@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.864Z") @Stability(value=Stable) public class CfnReportPlan extends CfnResource implements IInspectable
Creates a report plan. A report plan is a document that contains information about the contents of the report and where AWS Backup will deliver it.
If you call CreateReportPlan with a plan that already exists, you receive an AlreadyExistsException exception.
For a sample AWS CloudFormation template, see the AWS Backup Developer Guide .
Example:
// 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;
CfnReportPlan cfnReportPlan = CfnReportPlan.Builder.create(this, "MyCfnReportPlan")
.reportDeliveryChannel(reportDeliveryChannel)
.reportSetting(reportSetting)
// the properties below are optional
.reportPlanDescription("reportPlanDescription")
.reportPlanName("reportPlanName")
.reportPlanTags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnReportPlan.Builder
A fluent builder for
CfnReportPlan. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnReportPlan(software.constructs.Construct scope,
String id,
CfnReportPlanProps props)
Create a new `AWS::Backup::ReportPlan`.
|
protected |
CfnReportPlan(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnReportPlan(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrReportPlanArn()
The Amazon Resource Name (ARN) of your report plan.
|
protected Map<String,Object> |
getCfnProperties() |
Object |
getReportDeliveryChannel()
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.
|
String |
getReportPlanDescription()
An optional description of the report plan with a maximum 1,024 characters.
|
String |
getReportPlanName()
The unique name of the report plan.
|
Object |
getReportPlanTags()
A list of tags to tag your report plan.
|
Object |
getReportSetting()
Identifies the report template for the report.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setReportDeliveryChannel(Object value)
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.
|
void |
setReportPlanDescription(String value)
An optional description of the report plan with a maximum 1,024 characters.
|
void |
setReportPlanName(String value)
The unique name of the report plan.
|
void |
setReportPlanTags(IResolvable value)
A list of tags to tag your report plan.
|
void |
setReportPlanTags(List<Object> value)
A list of tags to tag your report plan.
|
void |
setReportSetting(Object value)
Identifies the report template for the report.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnReportPlan(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnReportPlan(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnReportPlan(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnReportPlanProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrReportPlanArn()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public Object getReportDeliveryChannel()
@Stability(value=Stable)
public void setReportDeliveryChannel(@NotNull
Object value)
@Stability(value=Stable) @NotNull public Object getReportSetting()
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.
@Stability(value=Stable)
public void setReportSetting(@NotNull
Object value)
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.
@Stability(value=Stable) @Nullable public String getReportPlanDescription()
@Stability(value=Stable)
public void setReportPlanDescription(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getReportPlanName()
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 (_).
@Stability(value=Stable)
public void setReportPlanName(@Nullable
String value)
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 (_).
@Stability(value=Stable) @Nullable public Object getReportPlanTags()
@Stability(value=Stable)
public void setReportPlanTags(@Nullable
IResolvable value)
Copyright © 2022. All rights reserved.