Class: AWSCDK::QuickSight::CfnAnalysis::TotalAggregationComputationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::TotalAggregationComputationProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
The total aggregation computation configuration.
Instance Attribute Summary collapse
-
#computation_id ⇒ String
readonly
The ID for a computation.
-
#name ⇒ String?
readonly
The name of a computation.
-
#value ⇒ AWSCDK::IResolvable, ...
readonly
The value field that is used in a computation.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(computation_id:, name: nil, value: nil) ⇒ TotalAggregationComputationProperty
constructor
A new instance of TotalAggregationComputationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(computation_id:, name: nil, value: nil) ⇒ TotalAggregationComputationProperty
Returns a new instance of TotalAggregationComputationProperty.
30098 30099 30100 30101 30102 30103 30104 30105 |
# File 'quick_sight/cfn_analysis.rb', line 30098 def initialize(computation_id:, name: nil, value: nil) @computation_id = computation_id Jsii::Type.check_type(@computation_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "computationId") @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil? @value = value.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::MeasureFieldProperty.new(**value.transform_keys(&:to_sym)) : value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLk1lYXN1cmVGaWVsZFByb3BlcnR5In1dfX0=")), "value") unless @value.nil? end |
Instance Attribute Details
#computation_id ⇒ String (readonly)
The ID for a computation.
30111 30112 30113 |
# File 'quick_sight/cfn_analysis.rb', line 30111 def computation_id @computation_id end |
#name ⇒ String? (readonly)
The name of a computation.
30116 30117 30118 |
# File 'quick_sight/cfn_analysis.rb', line 30116 def name @name end |
#value ⇒ AWSCDK::IResolvable, ... (readonly)
The value field that is used in a computation.
30121 30122 30123 |
# File 'quick_sight/cfn_analysis.rb', line 30121 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
30123 30124 30125 30126 30127 30128 30129 |
# File 'quick_sight/cfn_analysis.rb', line 30123 def self.jsii_properties { :computation_id => "computationId", :name => "name", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
30131 30132 30133 30134 30135 30136 30137 30138 30139 |
# File 'quick_sight/cfn_analysis.rb', line 30131 def to_jsii result = {} result.merge!({ "computationId" => @computation_id, "name" => @name, "value" => @value, }) result.compact end |