Class: AWSCDK::QuickSight::CfnDashboard::ItemsLimitConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_dashboard.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:.



17268
17269
17270
17271
17272
17273
# File 'quick_sight/cfn_dashboard.rb', line 17268

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.



17281
17282
17283
# File 'quick_sight/cfn_dashboard.rb', line 17281

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


17289
17290
17291
# File 'quick_sight/cfn_dashboard.rb', line 17289

def other_categories
  @other_categories
end

Class Method Details

.jsii_propertiesObject



17291
17292
17293
17294
17295
17296
# File 'quick_sight/cfn_dashboard.rb', line 17291

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

Instance Method Details

#to_jsiiObject



17298
17299
17300
17301
17302
17303
17304
17305
# File 'quick_sight/cfn_dashboard.rb', line 17298

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