Class: AWSCDK::QuickSight::CfnDashboard::PercentileAggregationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::PercentileAggregationProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
An aggregation based on the percentile of values in a dimension or measure.
Instance Attribute Summary collapse
-
#percentile_value ⇒ Numeric?
readonly
The percentile value.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(percentile_value: nil) ⇒ PercentileAggregationProperty
constructor
A new instance of PercentileAggregationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(percentile_value: nil) ⇒ PercentileAggregationProperty
Returns a new instance of PercentileAggregationProperty.
21944 21945 21946 21947 |
# File 'quick_sight/cfn_dashboard.rb', line 21944 def initialize(percentile_value: nil) @percentile_value = percentile_value Jsii::Type.check_type(@percentile_value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "percentileValue") unless @percentile_value.nil? end |
Instance Attribute Details
#percentile_value ⇒ Numeric? (readonly)
The percentile value.
This value can be any numeric constant 0–100. A percentile value of 50 computes the median value of the measure.
21955 21956 21957 |
# File 'quick_sight/cfn_dashboard.rb', line 21955 def percentile_value @percentile_value end |
Class Method Details
.jsii_properties ⇒ Object
21957 21958 21959 21960 21961 |
# File 'quick_sight/cfn_dashboard.rb', line 21957 def self.jsii_properties { :percentile_value => "percentileValue", } end |
Instance Method Details
#to_jsii ⇒ Object
21963 21964 21965 21966 21967 21968 21969 |
# File 'quick_sight/cfn_dashboard.rb', line 21963 def to_jsii result = {} result.merge!({ "percentileValue" => @percentile_value, }) result.compact end |