Class: AWSCDK::QuickSight::CfnDataSet::ValueColumnConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDataSet::ValueColumnConfigurationProperty
- Defined in:
- quick_sight/cfn_data_set.rb
Overview
Configuration for how to handle value columns in pivot operations, including aggregation settings.
Instance Attribute Summary collapse
-
#aggregation_function ⇒ AWSCDK::IResolvable, ...
readonly
The aggregation function to apply when multiple values map to the same pivoted cell.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(aggregation_function: nil) ⇒ ValueColumnConfigurationProperty
constructor
A new instance of ValueColumnConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(aggregation_function: nil) ⇒ ValueColumnConfigurationProperty
Returns a new instance of ValueColumnConfigurationProperty.
6301 6302 6303 6304 |
# File 'quick_sight/cfn_data_set.rb', line 6301 def initialize(aggregation_function: nil) @aggregation_function = aggregation_function.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDataSet::DataPrepAggregationFunctionProperty.new(**aggregation_function.transform_keys(&:to_sym)) : aggregation_function Jsii::Type.check_type(@aggregation_function, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhdGFTZXQuRGF0YVByZXBBZ2dyZWdhdGlvbkZ1bmN0aW9uUHJvcGVydHkifV19fQ==")), "aggregationFunction") unless @aggregation_function.nil? end |
Instance Attribute Details
#aggregation_function ⇒ AWSCDK::IResolvable, ... (readonly)
The aggregation function to apply when multiple values map to the same pivoted cell.
6310 6311 6312 |
# File 'quick_sight/cfn_data_set.rb', line 6310 def aggregation_function @aggregation_function end |
Class Method Details
.jsii_properties ⇒ Object
6312 6313 6314 6315 6316 |
# File 'quick_sight/cfn_data_set.rb', line 6312 def self.jsii_properties { :aggregation_function => "aggregationFunction", } end |
Instance Method Details
#to_jsii ⇒ Object
6318 6319 6320 6321 6322 6323 6324 |
# File 'quick_sight/cfn_data_set.rb', line 6318 def to_jsii result = {} result.merge!({ "aggregationFunction" => @aggregation_function, }) result.compact end |