Class: AWSCDK::QuickSight::CfnDashboard::BinWidthOptionsProperty

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

Overview

The options that determine the bin width of a histogram.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bin_count_limit: nil, value: nil) ⇒ BinWidthOptionsProperty

Returns a new instance of BinWidthOptionsProperty.

Parameters:

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

    The options that determine the bin count limit.

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

    The options that determine the bin width value.



2309
2310
2311
2312
2313
2314
# File 'quick_sight/cfn_dashboard.rb', line 2309

def initialize(bin_count_limit: nil, value: nil)
  @bin_count_limit = bin_count_limit
  Jsii::Type.check_type(@bin_count_limit, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "binCountLimit") unless @bin_count_limit.nil?
  @value = value
  Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "value") unless @value.nil?
end

Instance Attribute Details

#bin_count_limitNumeric? (readonly)

The options that determine the bin count limit.



2320
2321
2322
# File 'quick_sight/cfn_dashboard.rb', line 2320

def bin_count_limit
  @bin_count_limit
end

#valueNumeric? (readonly)

The options that determine the bin width value.



2325
2326
2327
# File 'quick_sight/cfn_dashboard.rb', line 2325

def value
  @value
end

Class Method Details

.jsii_propertiesObject



2327
2328
2329
2330
2331
2332
# File 'quick_sight/cfn_dashboard.rb', line 2327

def self.jsii_properties
  {
    :bin_count_limit => "binCountLimit",
    :value => "value",
  }
end

Instance Method Details

#to_jsiiObject



2334
2335
2336
2337
2338
2339
2340
2341
# File 'quick_sight/cfn_dashboard.rb', line 2334

def to_jsii
  result = {}
  result.merge!({
    "binCountLimit" => @bin_count_limit,
    "value" => @value,
  })
  result.compact
end