Class CfnDashboard.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard>
- Enclosing class:
CfnDashboard
CfnDashboard
.-
Method Summary
Modifier and TypeMethodDescriptionawsAccountId
(String awsAccountId) The ID of the AWS account where you want to create the dashboard.build()
static CfnDashboard.Builder
dashboardId
(String dashboardId) The ID for the dashboard, also added to the IAM policy.dashboardPublishOptions
(IResolvable dashboardPublishOptions) Options for publishing the dashboard when you create it:.dashboardPublishOptions
(CfnDashboard.DashboardPublishOptionsProperty dashboardPublishOptions) Options for publishing the dashboard when you create it:.definition
(IResolvable definition) linkEntities
(List<String> linkEntities) A list of analysis Amazon Resource Names (ARNs) to be linked to the dashboard.linkSharingConfiguration
(IResolvable linkSharingConfiguration) A structure that contains the link sharing configurations that you want to apply overrides to.linkSharingConfiguration
(CfnDashboard.LinkSharingConfigurationProperty linkSharingConfiguration) A structure that contains the link sharing configurations that you want to apply overrides to.The display name of the dashboard.parameters
(IResolvable parameters) The parameters for the creation of the dashboard, which you want to use to override the default settings.parameters
(CfnDashboard.ParametersProperty parameters) The parameters for the creation of the dashboard, which you want to use to override the default settings.permissions
(List<? extends Object> permissions) A structure that contains the permissions of the dashboard.permissions
(IResolvable permissions) A structure that contains the permissions of the dashboard.sourceEntity
(IResolvable sourceEntity) The entity that you are using as a source when you create the dashboard.sourceEntity
(CfnDashboard.DashboardSourceEntityProperty sourceEntity) The entity that you are using as a source when you create the dashboard.Contains a map of the key-value pairs for the resource tag or tags assigned to the dashboard.The Amazon Resource Name (ARN) of the theme that is being used for this dashboard.validationStrategy
(IResolvable validationStrategy) The option to relax the validation that is required to create and update analyses, dashboards, and templates with definition objects.validationStrategy
(CfnDashboard.ValidationStrategyProperty validationStrategy) The option to relax the validation that is required to create and update analyses, dashboards, and templates with definition objects.versionDescription
(String versionDescription) A description for the first version of the dashboard being created.
-
Method Details
-
create
@Stability(Stable) public static CfnDashboard.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnDashboard.Builder
.
-
awsAccountId
The ID of the AWS account where you want to create the dashboard.- Parameters:
awsAccountId
- The ID of the AWS account where you want to create the dashboard. This parameter is required.- Returns:
this
- See Also:
-
dashboardId
The ID for the dashboard, also added to the IAM policy.- Parameters:
dashboardId
- The ID for the dashboard, also added to the IAM policy. This parameter is required.- Returns:
this
- See Also:
-
name
The display name of the dashboard.- Parameters:
name
- The display name of the dashboard. This parameter is required.- Returns:
this
- See Also:
-
dashboardPublishOptions
@Stability(Stable) public CfnDashboard.Builder dashboardPublishOptions(IResolvable dashboardPublishOptions) Options for publishing the dashboard when you create it:.AvailabilityStatus
forAdHocFilteringOption
- This status can be eitherENABLED
orDISABLED
. When this is set toDISABLED
, Amazon QuickSight disables the left filter pane on the published dashboard, which can be used for ad hoc (one-time) filtering. This option isENABLED
by default.AvailabilityStatus
forExportToCSVOption
- This status can be eitherENABLED
orDISABLED
. The visual option to export data to .CSV format isn't enabled when this is set toDISABLED
. This option isENABLED
by default.VisibilityState
forSheetControlsOption
- This visibility state can be eitherCOLLAPSED
orEXPANDED
. This option isCOLLAPSED
by default.
- Parameters:
dashboardPublishOptions
- Options for publishing the dashboard when you create it:. This parameter is required.- Returns:
this
- See Also:
-
dashboardPublishOptions
@Stability(Stable) public CfnDashboard.Builder dashboardPublishOptions(CfnDashboard.DashboardPublishOptionsProperty dashboardPublishOptions) Options for publishing the dashboard when you create it:.AvailabilityStatus
forAdHocFilteringOption
- This status can be eitherENABLED
orDISABLED
. When this is set toDISABLED
, Amazon QuickSight disables the left filter pane on the published dashboard, which can be used for ad hoc (one-time) filtering. This option isENABLED
by default.AvailabilityStatus
forExportToCSVOption
- This status can be eitherENABLED
orDISABLED
. The visual option to export data to .CSV format isn't enabled when this is set toDISABLED
. This option isENABLED
by default.VisibilityState
forSheetControlsOption
- This visibility state can be eitherCOLLAPSED
orEXPANDED
. This option isCOLLAPSED
by default.
- Parameters:
dashboardPublishOptions
- Options for publishing the dashboard when you create it:. This parameter is required.- Returns:
this
- See Also:
-
definition
- Parameters:
definition
- This parameter is required.- Returns:
this
- See Also:
-
definition
@Stability(Stable) public CfnDashboard.Builder definition(CfnDashboard.DashboardVersionDefinitionProperty definition) - Parameters:
definition
- This parameter is required.- Returns:
this
- See Also:
-
linkEntities
A list of analysis Amazon Resource Names (ARNs) to be linked to the dashboard.- Parameters:
linkEntities
- A list of analysis Amazon Resource Names (ARNs) to be linked to the dashboard. This parameter is required.- Returns:
this
- See Also:
-
linkSharingConfiguration
@Stability(Stable) public CfnDashboard.Builder linkSharingConfiguration(IResolvable linkSharingConfiguration) A structure that contains the link sharing configurations that you want to apply overrides to.- Parameters:
linkSharingConfiguration
- A structure that contains the link sharing configurations that you want to apply overrides to. This parameter is required.- Returns:
this
- See Also:
-
linkSharingConfiguration
@Stability(Stable) public CfnDashboard.Builder linkSharingConfiguration(CfnDashboard.LinkSharingConfigurationProperty linkSharingConfiguration) A structure that contains the link sharing configurations that you want to apply overrides to.- Parameters:
linkSharingConfiguration
- A structure that contains the link sharing configurations that you want to apply overrides to. This parameter is required.- Returns:
this
- See Also:
-
parameters
The parameters for the creation of the dashboard, which you want to use to override the default settings.A dashboard can have any type of parameters, and some parameters might accept multiple values.
- Parameters:
parameters
- The parameters for the creation of the dashboard, which you want to use to override the default settings. This parameter is required.- Returns:
this
- See Also:
-
parameters
@Stability(Stable) public CfnDashboard.Builder parameters(CfnDashboard.ParametersProperty parameters) The parameters for the creation of the dashboard, which you want to use to override the default settings.A dashboard can have any type of parameters, and some parameters might accept multiple values.
- Parameters:
parameters
- The parameters for the creation of the dashboard, which you want to use to override the default settings. This parameter is required.- Returns:
this
- See Also:
-
permissions
A structure that contains the permissions of the dashboard.You can use this structure for granting permissions by providing a list of IAM action information for each principal ARN.
To specify no permissions, omit the permissions list.
- Parameters:
permissions
- A structure that contains the permissions of the dashboard. This parameter is required.- Returns:
this
- See Also:
-
permissions
A structure that contains the permissions of the dashboard.You can use this structure for granting permissions by providing a list of IAM action information for each principal ARN.
To specify no permissions, omit the permissions list.
- Parameters:
permissions
- A structure that contains the permissions of the dashboard. This parameter is required.- Returns:
this
- See Also:
-
sourceEntity
The entity that you are using as a source when you create the dashboard.In
SourceEntity
, you specify the type of object that you want to use. You can only create a dashboard from a template, so you use aSourceTemplate
entity. If you need to create a dashboard from an analysis, first convert the analysis to a template by using theCreateTemplate
API operation. ForSourceTemplate
, specify the Amazon Resource Name (ARN) of the source template. TheSourceTemplate
ARN can contain any AWS account; and any QuickSight-supported AWS Region .Use the
DataSetReferences
entity withinSourceTemplate
to list the replacement datasets for the placeholders listed in the original. The schema in each dataset must match its placeholder.- Parameters:
sourceEntity
- The entity that you are using as a source when you create the dashboard. This parameter is required.- Returns:
this
- See Also:
-
sourceEntity
@Stability(Stable) public CfnDashboard.Builder sourceEntity(CfnDashboard.DashboardSourceEntityProperty sourceEntity) The entity that you are using as a source when you create the dashboard.In
SourceEntity
, you specify the type of object that you want to use. You can only create a dashboard from a template, so you use aSourceTemplate
entity. If you need to create a dashboard from an analysis, first convert the analysis to a template by using theCreateTemplate
API operation. ForSourceTemplate
, specify the Amazon Resource Name (ARN) of the source template. TheSourceTemplate
ARN can contain any AWS account; and any QuickSight-supported AWS Region .Use the
DataSetReferences
entity withinSourceTemplate
to list the replacement datasets for the placeholders listed in the original. The schema in each dataset must match its placeholder.- Parameters:
sourceEntity
- The entity that you are using as a source when you create the dashboard. This parameter is required.- Returns:
this
- See Also:
-
tags
Contains a map of the key-value pairs for the resource tag or tags assigned to the dashboard.- Parameters:
tags
- Contains a map of the key-value pairs for the resource tag or tags assigned to the dashboard. This parameter is required.- Returns:
this
- See Also:
-
themeArn
The Amazon Resource Name (ARN) of the theme that is being used for this dashboard.If you add a value for this field, it overrides the value that is used in the source entity. The theme ARN must exist in the same AWS account where you create the dashboard.
- Parameters:
themeArn
- The Amazon Resource Name (ARN) of the theme that is being used for this dashboard. This parameter is required.- Returns:
this
- See Also:
-
validationStrategy
The option to relax the validation that is required to create and update analyses, dashboards, and templates with definition objects.When you set this value to
LENIENT
, validation is skipped for specific errors.- Parameters:
validationStrategy
- The option to relax the validation that is required to create and update analyses, dashboards, and templates with definition objects. This parameter is required.- Returns:
this
- See Also:
-
validationStrategy
@Stability(Stable) public CfnDashboard.Builder validationStrategy(CfnDashboard.ValidationStrategyProperty validationStrategy) The option to relax the validation that is required to create and update analyses, dashboards, and templates with definition objects.When you set this value to
LENIENT
, validation is skipped for specific errors.- Parameters:
validationStrategy
- The option to relax the validation that is required to create and update analyses, dashboards, and templates with definition objects. This parameter is required.- Returns:
this
- See Also:
-
versionDescription
A description for the first version of the dashboard being created.- Parameters:
versionDescription
- A description for the first version of the dashboard being created. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard>
- Returns:
- a newly built instance of
CfnDashboard
.
-