Class: AWSCDK::QuickSight::CfnDashboard::SheetDefinitionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::SheetDefinitionProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
A sheet is an object that contains a set of visuals that are viewed together on one page in a paginated report.
Every analysis and dashboard must contain at least one sheet.
Instance Attribute Summary collapse
-
#content_type ⇒ String?
readonly
The layout content type of the sheet.
-
#description ⇒ String?
readonly
A description of the sheet.
-
#filter_controls ⇒ AWSCDK::IResolvable, ...
readonly
The list of filter controls that are on a sheet.
-
#images ⇒ AWSCDK::IResolvable, ...
readonly
A list of images on a sheet.
-
#layouts ⇒ AWSCDK::IResolvable, ...
readonly
Layouts define how the components of a sheet are arranged.
-
#name ⇒ String?
readonly
The name of the sheet.
-
#parameter_controls ⇒ AWSCDK::IResolvable, ...
readonly
The list of parameter controls that are on a sheet.
-
#sheet_control_layouts ⇒ AWSCDK::IResolvable, ...
readonly
The control layouts of the sheet.
-
#sheet_id ⇒ String
readonly
The unique identifier of a sheet.
-
#text_boxes ⇒ AWSCDK::IResolvable, ...
readonly
The text boxes that are on a sheet.
-
#title ⇒ String?
readonly
The title of the sheet.
-
#visuals ⇒ AWSCDK::IResolvable, ...
readonly
A list of the visuals that are on a sheet.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(sheet_id:, content_type: nil, description: nil, filter_controls: nil, images: nil, layouts: nil, name: nil, parameter_controls: nil, sheet_control_layouts: nil, text_boxes: nil, title: nil, visuals: nil) ⇒ SheetDefinitionProperty
constructor
A new instance of SheetDefinitionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(sheet_id:, content_type: nil, description: nil, filter_controls: nil, images: nil, layouts: nil, name: nil, parameter_controls: nil, sheet_control_layouts: nil, text_boxes: nil, title: nil, visuals: nil) ⇒ SheetDefinitionProperty
Returns a new instance of SheetDefinitionProperty.
27087 27088 27089 27090 27091 27092 27093 27094 27095 27096 27097 27098 27099 27100 27101 27102 27103 27104 27105 27106 27107 27108 27109 27110 27111 27112 |
# File 'quick_sight/cfn_dashboard.rb', line 27087 def initialize(sheet_id:, content_type: nil, description: nil, filter_controls: nil, images: nil, layouts: nil, name: nil, parameter_controls: nil, sheet_control_layouts: nil, text_boxes: nil, title: nil, visuals: nil) @sheet_id = sheet_id Jsii::Type.check_type(@sheet_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sheetId") @content_type = content_type Jsii::Type.check_type(@content_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "contentType") unless @content_type.nil? @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? @filter_controls = filter_controls Jsii::Type.check_type(@filter_controls, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5EYXNoYm9hcmQuRmlsdGVyQ29udHJvbFByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "filterControls") unless @filter_controls.nil? @images = images Jsii::Type.check_type(@images, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5EYXNoYm9hcmQuU2hlZXRJbWFnZVByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "images") unless @images.nil? @layouts = layouts Jsii::Type.check_type(@layouts, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5EYXNoYm9hcmQuTGF5b3V0UHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "layouts") unless @layouts.nil? @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil? @parameter_controls = parameter_controls Jsii::Type.check_type(@parameter_controls, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5EYXNoYm9hcmQuUGFyYW1ldGVyQ29udHJvbFByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "parameterControls") unless @parameter_controls.nil? @sheet_control_layouts = sheet_control_layouts Jsii::Type.check_type(@sheet_control_layouts, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5EYXNoYm9hcmQuU2hlZXRDb250cm9sTGF5b3V0UHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "sheetControlLayouts") unless @sheet_control_layouts.nil? @text_boxes = text_boxes Jsii::Type.check_type(@text_boxes, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5EYXNoYm9hcmQuU2hlZXRUZXh0Qm94UHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "textBoxes") unless @text_boxes.nil? @title = title Jsii::Type.check_type(@title, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "title") unless @title.nil? @visuals = visuals Jsii::Type.check_type(@visuals, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5EYXNoYm9hcmQuVmlzdWFsUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "visuals") unless @visuals.nil? end |
Instance Attribute Details
#content_type ⇒ String? (readonly)
The layout content type of the sheet. Choose one of the following options:.
PAGINATED: Creates a sheet for a paginated report.INTERACTIVE: Creates a sheet for an interactive dashboard.
27126 27127 27128 |
# File 'quick_sight/cfn_dashboard.rb', line 27126 def content_type @content_type end |
#description ⇒ String? (readonly)
A description of the sheet.
27131 27132 27133 |
# File 'quick_sight/cfn_dashboard.rb', line 27131 def description @description end |
#filter_controls ⇒ AWSCDK::IResolvable, ... (readonly)
The list of filter controls that are on a sheet.
For more information, see Adding filter controls to analysis sheets in the Amazon Quick Suite User Guide .
27138 27139 27140 |
# File 'quick_sight/cfn_dashboard.rb', line 27138 def filter_controls @filter_controls end |
#images ⇒ AWSCDK::IResolvable, ... (readonly)
A list of images on a sheet.
27143 27144 27145 |
# File 'quick_sight/cfn_dashboard.rb', line 27143 def images @images end |
#layouts ⇒ AWSCDK::IResolvable, ... (readonly)
Layouts define how the components of a sheet are arranged.
For more information, see Types of layout in the Amazon Quick Suite User Guide .
27150 27151 27152 |
# File 'quick_sight/cfn_dashboard.rb', line 27150 def layouts @layouts end |
#name ⇒ String? (readonly)
The name of the sheet.
This name is displayed on the sheet's tab in the Quick Suite console.
27157 27158 27159 |
# File 'quick_sight/cfn_dashboard.rb', line 27157 def name @name end |
#parameter_controls ⇒ AWSCDK::IResolvable, ... (readonly)
The list of parameter controls that are on a sheet.
For more information, see Using a Control with a Parameter in Amazon Quick Sight in the Amazon Quick Suite User Guide .
27164 27165 27166 |
# File 'quick_sight/cfn_dashboard.rb', line 27164 def parameter_controls @parameter_controls end |
#sheet_control_layouts ⇒ AWSCDK::IResolvable, ... (readonly)
The control layouts of the sheet.
27169 27170 27171 |
# File 'quick_sight/cfn_dashboard.rb', line 27169 def sheet_control_layouts @sheet_control_layouts end |
#sheet_id ⇒ String (readonly)
The unique identifier of a sheet.
27118 27119 27120 |
# File 'quick_sight/cfn_dashboard.rb', line 27118 def sheet_id @sheet_id end |
#text_boxes ⇒ AWSCDK::IResolvable, ... (readonly)
The text boxes that are on a sheet.
27174 27175 27176 |
# File 'quick_sight/cfn_dashboard.rb', line 27174 def text_boxes @text_boxes end |
#title ⇒ String? (readonly)
The title of the sheet.
27179 27180 27181 |
# File 'quick_sight/cfn_dashboard.rb', line 27179 def title @title end |
#visuals ⇒ AWSCDK::IResolvable, ... (readonly)
A list of the visuals that are on a sheet.
Visual placement is determined by the layout of the sheet.
27186 27187 27188 |
# File 'quick_sight/cfn_dashboard.rb', line 27186 def visuals @visuals end |
Class Method Details
.jsii_properties ⇒ Object
27188 27189 27190 27191 27192 27193 27194 27195 27196 27197 27198 27199 27200 27201 27202 27203 |
# File 'quick_sight/cfn_dashboard.rb', line 27188 def self.jsii_properties { :sheet_id => "sheetId", :content_type => "contentType", :description => "description", :filter_controls => "filterControls", :images => "images", :layouts => "layouts", :name => "name", :parameter_controls => "parameterControls", :sheet_control_layouts => "sheetControlLayouts", :text_boxes => "textBoxes", :title => "title", :visuals => "visuals", } end |
Instance Method Details
#to_jsii ⇒ Object
27205 27206 27207 27208 27209 27210 27211 27212 27213 27214 27215 27216 27217 27218 27219 27220 27221 27222 |
# File 'quick_sight/cfn_dashboard.rb', line 27205 def to_jsii result = {} result.merge!({ "sheetId" => @sheet_id, "contentType" => @content_type, "description" => @description, "filterControls" => @filter_controls, "images" => @images, "layouts" => @layouts, "name" => @name, "parameterControls" => @parameter_controls, "sheetControlLayouts" => @sheet_control_layouts, "textBoxes" => @text_boxes, "title" => @title, "visuals" => @visuals, }) result.compact end |