Class: AWSCDK::QuickSight::CfnTemplate::SheetImageTooltipTextProperty

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

Overview

The text that appears in the sheet image tooltip.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(plain_text: nil) ⇒ SheetImageTooltipTextProperty

Returns a new instance of SheetImageTooltipTextProperty.

Parameters:

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

    The plain text format.



24674
24675
24676
24677
# File 'quick_sight/cfn_template.rb', line 24674

def initialize(plain_text: nil)
  @plain_text = plain_text
  Jsii::Type.check_type(@plain_text, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "plainText") unless @plain_text.nil?
end

Instance Attribute Details

#plain_textString? (readonly)

The plain text format.



24683
24684
24685
# File 'quick_sight/cfn_template.rb', line 24683

def plain_text
  @plain_text
end

Class Method Details

.jsii_propertiesObject



24685
24686
24687
24688
24689
# File 'quick_sight/cfn_template.rb', line 24685

def self.jsii_properties
  {
    :plain_text => "plainText",
  }
end

Instance Method Details

#to_jsiiObject



24691
24692
24693
24694
24695
24696
24697
# File 'quick_sight/cfn_template.rb', line 24691

def to_jsii
  result = {}
  result.merge!({
    "plainText" => @plain_text,
  })
  result.compact
end