Class: AWSCDK::QuickSight::CfnTemplate::ColumnTooltipItemProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::ColumnTooltipItemProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The tooltip item for the columns that are not part of a field well.
Instance Attribute Summary collapse
-
#aggregation ⇒ AWSCDK::IResolvable, ...
readonly
The aggregation function of the column tooltip item.
-
#column ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnTemplate::ColumnIdentifierProperty
readonly
The target column of the tooltip item.
-
#label ⇒ String?
readonly
The label of the tooltip item.
-
#tooltip_target ⇒ String?
readonly
Determines the target of the column tooltip item in a combo chart visual.
-
#visibility ⇒ String?
readonly
The visibility of the tooltip item.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(column:, aggregation: nil, label: nil, tooltip_target: nil, visibility: nil) ⇒ ColumnTooltipItemProperty
constructor
A new instance of ColumnTooltipItemProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(column:, aggregation: nil, label: nil, tooltip_target: nil, visibility: nil) ⇒ ColumnTooltipItemProperty
Returns a new instance of ColumnTooltipItemProperty.
4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 |
# File 'quick_sight/cfn_template.rb', line 4066 def initialize(column:, aggregation: nil, label: nil, tooltip_target: nil, visibility: nil) @column = column.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::ColumnIdentifierProperty.new(**column.transform_keys(&:to_sym)) : column Jsii::Type.check_type(@column, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkNvbHVtbklkZW50aWZpZXJQcm9wZXJ0eSJ9XX19")), "column") @aggregation = aggregation.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::AggregationFunctionProperty.new(**aggregation.transform_keys(&:to_sym)) : aggregation Jsii::Type.check_type(@aggregation, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkFnZ3JlZ2F0aW9uRnVuY3Rpb25Qcm9wZXJ0eSJ9XX19")), "aggregation") unless @aggregation.nil? @label = label Jsii::Type.check_type(@label, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "label") unless @label.nil? @tooltip_target = tooltip_target Jsii::Type.check_type(@tooltip_target, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tooltipTarget") unless @tooltip_target.nil? @visibility = visibility Jsii::Type.check_type(@visibility, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "visibility") unless @visibility.nil? end |
Instance Attribute Details
#aggregation ⇒ AWSCDK::IResolvable, ... (readonly)
The aggregation function of the column tooltip item.
4088 4089 4090 |
# File 'quick_sight/cfn_template.rb', line 4088 def aggregation @aggregation end |
#column ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnTemplate::ColumnIdentifierProperty (readonly)
The target column of the tooltip item.
4083 4084 4085 |
# File 'quick_sight/cfn_template.rb', line 4083 def column @column end |
#label ⇒ String? (readonly)
The label of the tooltip item.
4093 4094 4095 |
# File 'quick_sight/cfn_template.rb', line 4093 def label @label end |
#tooltip_target ⇒ String? (readonly)
Determines the target of the column tooltip item in a combo chart visual.
4098 4099 4100 |
# File 'quick_sight/cfn_template.rb', line 4098 def tooltip_target @tooltip_target end |
#visibility ⇒ String? (readonly)
The visibility of the tooltip item.
4103 4104 4105 |
# File 'quick_sight/cfn_template.rb', line 4103 def visibility @visibility end |
Class Method Details
.jsii_properties ⇒ Object
4105 4106 4107 4108 4109 4110 4111 4112 4113 |
# File 'quick_sight/cfn_template.rb', line 4105 def self.jsii_properties { :column => "column", :aggregation => "aggregation", :label => "label", :tooltip_target => "tooltipTarget", :visibility => "visibility", } end |
Instance Method Details
#to_jsii ⇒ Object
4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 |
# File 'quick_sight/cfn_template.rb', line 4115 def to_jsii result = {} result.merge!({ "column" => @column, "aggregation" => @aggregation, "label" => @label, "tooltipTarget" => @tooltip_target, "visibility" => @visibility, }) result.compact end |