Class: AWSCDK::QuickSight::CfnTemplate::TreeMapFieldWellsProperty

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

Overview

The field wells of a tree map.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tree_map_aggregated_field_wells: nil) ⇒ TreeMapFieldWellsProperty

Returns a new instance of TreeMapFieldWellsProperty.

Parameters:



28832
28833
28834
28835
# File 'quick_sight/cfn_template.rb', line 28832

def initialize(tree_map_aggregated_field_wells: nil)
  @tree_map_aggregated_field_wells = tree_map_aggregated_field_wells.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::TreeMapAggregatedFieldWellsProperty.new(**tree_map_aggregated_field_wells.transform_keys(&:to_sym)) : tree_map_aggregated_field_wells
  Jsii::Type.check_type(@tree_map_aggregated_field_wells, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlRyZWVNYXBBZ2dyZWdhdGVkRmllbGRXZWxsc1Byb3BlcnR5In1dfX0=")), "treeMapAggregatedFieldWells") unless @tree_map_aggregated_field_wells.nil?
end

Instance Attribute Details

#tree_map_aggregated_field_wellsAWSCDK::IResolvable, ... (readonly)

The aggregated field wells of a tree map.



28841
28842
28843
# File 'quick_sight/cfn_template.rb', line 28841

def tree_map_aggregated_field_wells
  @tree_map_aggregated_field_wells
end

Class Method Details

.jsii_propertiesObject



28843
28844
28845
28846
28847
# File 'quick_sight/cfn_template.rb', line 28843

def self.jsii_properties
  {
    :tree_map_aggregated_field_wells => "treeMapAggregatedFieldWells",
  }
end

Instance Method Details

#to_jsiiObject



28849
28850
28851
28852
28853
28854
28855
# File 'quick_sight/cfn_template.rb', line 28849

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