Class: AWSCDK::QuickSight::CfnTemplate::SheetTextBoxProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::SheetTextBoxProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
A text box.
Instance Attribute Summary collapse
-
#content ⇒ String?
readonly
The content that is displayed in the text box.
-
#sheet_text_box_id ⇒ String
readonly
The unique identifier for a text box.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(sheet_text_box_id:, content: nil) ⇒ SheetTextBoxProperty
constructor
A new instance of SheetTextBoxProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(sheet_text_box_id:, content: nil) ⇒ SheetTextBoxProperty
Returns a new instance of SheetTextBoxProperty.
24755 24756 24757 24758 24759 24760 |
# File 'quick_sight/cfn_template.rb', line 24755 def initialize(sheet_text_box_id:, content: nil) @sheet_text_box_id = sheet_text_box_id Jsii::Type.check_type(@sheet_text_box_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sheetTextBoxId") @content = content Jsii::Type.check_type(@content, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "content") unless @content.nil? end |
Instance Attribute Details
#content ⇒ String? (readonly)
The content that is displayed in the text box.
24773 24774 24775 |
# File 'quick_sight/cfn_template.rb', line 24773 def content @content end |
#sheet_text_box_id ⇒ String (readonly)
The unique identifier for a text box.
This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have text boxes that share identifiers.
24768 24769 24770 |
# File 'quick_sight/cfn_template.rb', line 24768 def sheet_text_box_id @sheet_text_box_id end |
Class Method Details
.jsii_properties ⇒ Object
24775 24776 24777 24778 24779 24780 |
# File 'quick_sight/cfn_template.rb', line 24775 def self.jsii_properties { :sheet_text_box_id => "sheetTextBoxId", :content => "content", } end |
Instance Method Details
#to_jsii ⇒ Object
24782 24783 24784 24785 24786 24787 24788 24789 |
# File 'quick_sight/cfn_template.rb', line 24782 def to_jsii result = {} result.merge!({ "sheetTextBoxId" => @sheet_text_box_id, "content" => @content, }) result.compact end |