Class: AWSCDK::QuickSight::CfnTemplate::FunnelChartAggregatedFieldWellsProperty

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

Overview

The field well configuration of a FunnelChartVisual .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(category: nil, values: nil) ⇒ FunnelChartAggregatedFieldWellsProperty

Returns a new instance of FunnelChartAggregatedFieldWellsProperty.

Parameters:



11544
11545
11546
11547
11548
11549
# File 'quick_sight/cfn_template.rb', line 11544

def initialize(category: nil, values: nil)
  @category = category
  Jsii::Type.check_type(@category, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5UZW1wbGF0ZS5EaW1lbnNpb25GaWVsZFByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "category") unless @category.nil?
  @values = values
  Jsii::Type.check_type(@values, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5UZW1wbGF0ZS5NZWFzdXJlRmllbGRQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "values") unless @values.nil?
end

Instance Attribute Details

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

The category field wells of a funnel chart.

Values are grouped by category fields.



11557
11558
11559
# File 'quick_sight/cfn_template.rb', line 11557

def category
  @category
end

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

The value field wells of a funnel chart.

Values are aggregated based on categories.



11564
11565
11566
# File 'quick_sight/cfn_template.rb', line 11564

def values
  @values
end

Class Method Details

.jsii_propertiesObject



11566
11567
11568
11569
11570
11571
# File 'quick_sight/cfn_template.rb', line 11566

def self.jsii_properties
  {
    :category => "category",
    :values => "values",
  }
end

Instance Method Details

#to_jsiiObject



11573
11574
11575
11576
11577
11578
11579
11580
# File 'quick_sight/cfn_template.rb', line 11573

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