Class: AWSCDK::QuickSight::CfnTemplate::TableFieldLinkContentConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::TableFieldLinkContentConfigurationProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The URL content (text, icon) for the table link configuration.
Instance Attribute Summary collapse
-
#custom_icon_content ⇒ AWSCDK::IResolvable, ...
readonly
The custom icon content for the table link content configuration.
-
#custom_text_content ⇒ AWSCDK::IResolvable, ...
readonly
The custom text content (value, font configuration) for the table link content configuration.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(custom_icon_content: nil, custom_text_content: nil) ⇒ TableFieldLinkContentConfigurationProperty
constructor
A new instance of TableFieldLinkContentConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(custom_icon_content: nil, custom_text_content: nil) ⇒ TableFieldLinkContentConfigurationProperty
Returns a new instance of TableFieldLinkContentConfigurationProperty.
26119 26120 26121 26122 26123 26124 |
# File 'quick_sight/cfn_template.rb', line 26119 def initialize(custom_icon_content: nil, custom_text_content: nil) @custom_icon_content = custom_icon_content.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::TableFieldCustomIconContentProperty.new(**custom_icon_content.transform_keys(&:to_sym)) : custom_icon_content Jsii::Type.check_type(@custom_icon_content, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlRhYmxlRmllbGRDdXN0b21JY29uQ29udGVudFByb3BlcnR5In1dfX0=")), "customIconContent") unless @custom_icon_content.nil? @custom_text_content = custom_text_content.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::TableFieldCustomTextContentProperty.new(**custom_text_content.transform_keys(&:to_sym)) : custom_text_content Jsii::Type.check_type(@custom_text_content, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlRhYmxlRmllbGRDdXN0b21UZXh0Q29udGVudFByb3BlcnR5In1dfX0=")), "customTextContent") unless @custom_text_content.nil? end |
Instance Attribute Details
#custom_icon_content ⇒ AWSCDK::IResolvable, ... (readonly)
The custom icon content for the table link content configuration.
26130 26131 26132 |
# File 'quick_sight/cfn_template.rb', line 26130 def custom_icon_content @custom_icon_content end |
#custom_text_content ⇒ AWSCDK::IResolvable, ... (readonly)
The custom text content (value, font configuration) for the table link content configuration.
26135 26136 26137 |
# File 'quick_sight/cfn_template.rb', line 26135 def custom_text_content @custom_text_content end |
Class Method Details
.jsii_properties ⇒ Object
26137 26138 26139 26140 26141 26142 |
# File 'quick_sight/cfn_template.rb', line 26137 def self.jsii_properties { :custom_icon_content => "customIconContent", :custom_text_content => "customTextContent", } end |
Instance Method Details
#to_jsii ⇒ Object
26144 26145 26146 26147 26148 26149 26150 26151 |
# File 'quick_sight/cfn_template.rb', line 26144 def to_jsii result = {} result.merge!({ "customIconContent" => @custom_icon_content, "customTextContent" => @custom_text_content, }) result.compact end |