Class: AWSCDK::QuickSight::CfnTemplate::ItemsLimitConfigurationProperty

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

Overview

The limit configuration of the visual display for an axis.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(items_limit: nil, other_categories: nil) ⇒ ItemsLimitConfigurationProperty

Returns a new instance of ItemsLimitConfigurationProperty.

Parameters:

  • items_limit (Numeric, nil) (defaults to: nil)

    The limit on how many items of a field are showed in the chart.

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

    The Show other of an axis in the chart. Choose one of the following options:.



14736
14737
14738
14739
14740
14741
# File 'quick_sight/cfn_template.rb', line 14736

def initialize(items_limit: nil, other_categories: nil)
  @items_limit = items_limit
  Jsii::Type.check_type(@items_limit, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "itemsLimit") unless @items_limit.nil?
  @other_categories = other_categories
  Jsii::Type.check_type(@other_categories, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "otherCategories") unless @other_categories.nil?
end

Instance Attribute Details

#items_limitNumeric? (readonly)

The limit on how many items of a field are showed in the chart.

For example, the number of slices that are displayed in a pie chart.



14749
14750
14751
# File 'quick_sight/cfn_template.rb', line 14749

def items_limit
  @items_limit
end

#other_categoriesString? (readonly)

The Show other of an axis in the chart. Choose one of the following options:.

  • INCLUDE
  • EXCLUDE


14757
14758
14759
# File 'quick_sight/cfn_template.rb', line 14757

def other_categories
  @other_categories
end

Class Method Details

.jsii_propertiesObject



14759
14760
14761
14762
14763
14764
# File 'quick_sight/cfn_template.rb', line 14759

def self.jsii_properties
  {
    :items_limit => "itemsLimit",
    :other_categories => "otherCategories",
  }
end

Instance Method Details

#to_jsiiObject



14766
14767
14768
14769
14770
14771
14772
14773
# File 'quick_sight/cfn_template.rb', line 14766

def to_jsii
  result = {}
  result.merge!({
    "itemsLimit" => @items_limit,
    "otherCategories" => @other_categories,
  })
  result.compact
end