Class: AWSCDK::QuickSight::CfnAnalysis::SheetTextBoxProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_analysis.rb

Overview

A text box.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sheet_text_box_id:, content: nil) ⇒ SheetTextBoxProperty

Returns a new instance of SheetTextBoxProperty.

Parameters:

  • sheet_text_box_id (String)

    The unique identifier for a text box.

  • content (String, nil) (defaults to: nil)

    The content that is displayed in the text box.



26629
26630
26631
26632
26633
26634
# File 'quick_sight/cfn_analysis.rb', line 26629

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

#contentString? (readonly)

The content that is displayed in the text box.



26647
26648
26649
# File 'quick_sight/cfn_analysis.rb', line 26647

def content
  @content
end

#sheet_text_box_idString (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.



26642
26643
26644
# File 'quick_sight/cfn_analysis.rb', line 26642

def sheet_text_box_id
  @sheet_text_box_id
end

Class Method Details

.jsii_propertiesObject



26649
26650
26651
26652
26653
26654
# File 'quick_sight/cfn_analysis.rb', line 26649

def self.jsii_properties
  {
    :sheet_text_box_id => "sheetTextBoxId",
    :content => "content",
  }
end

Instance Method Details

#to_jsiiObject



26656
26657
26658
26659
26660
26661
26662
26663
# File 'quick_sight/cfn_analysis.rb', line 26656

def to_jsii
  result = {}
  result.merge!({
    "sheetTextBoxId" => @sheet_text_box_id,
    "content" => @content,
  })
  result.compact
end