Class: AWSCDK::QuickSight::CfnAnalysis::PercentileAggregationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::PercentileAggregationProperty
- Defined in:
- quick_sight/cfn_analysis.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.
20972 20973 20974 20975 |
# File 'quick_sight/cfn_analysis.rb', line 20972 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.
20983 20984 20985 |
# File 'quick_sight/cfn_analysis.rb', line 20983 def percentile_value @percentile_value end |
Class Method Details
.jsii_properties ⇒ Object
20985 20986 20987 20988 20989 |
# File 'quick_sight/cfn_analysis.rb', line 20985 def self.jsii_properties { :percentile_value => "percentileValue", } end |
Instance Method Details
#to_jsii ⇒ Object
20991 20992 20993 20994 20995 20996 20997 |
# File 'quick_sight/cfn_analysis.rb', line 20991 def to_jsii result = {} result.merge!({ "percentileValue" => @percentile_value, }) result.compact end |