Class: AWSCDK::QuickSight::CfnTemplate::PercentileAggregationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::PercentileAggregationProperty
- Defined in:
- quick_sight/cfn_template.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.
19098 19099 19100 19101 |
# File 'quick_sight/cfn_template.rb', line 19098 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.
19109 19110 19111 |
# File 'quick_sight/cfn_template.rb', line 19109 def percentile_value @percentile_value end |
Class Method Details
.jsii_properties ⇒ Object
19111 19112 19113 19114 19115 |
# File 'quick_sight/cfn_template.rb', line 19111 def self.jsii_properties { :percentile_value => "percentileValue", } end |
Instance Method Details
#to_jsii ⇒ Object
19117 19118 19119 19120 19121 19122 19123 |
# File 'quick_sight/cfn_template.rb', line 19117 def to_jsii result = {} result.merge!({ "percentileValue" => @percentile_value, }) result.compact end |