Class: AWSCDK::QuickSight::CfnDashboard::TotalAggregationComputationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::TotalAggregationComputationProperty
- Defined in:
- quick_sight/cfn_dashboard.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.
31136 31137 31138 31139 31140 31141 31142 31143 |
# File 'quick_sight/cfn_dashboard.rb', line 31136 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::CfnDashboard::MeasureFieldProperty.new(**value.transform_keys(&:to_sym)) : value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5NZWFzdXJlRmllbGRQcm9wZXJ0eSJ9XX19")), "value") unless @value.nil? end |
Instance Attribute Details
#computation_id ⇒ String (readonly)
The ID for a computation.
31149 31150 31151 |
# File 'quick_sight/cfn_dashboard.rb', line 31149 def computation_id @computation_id end |
#name ⇒ String? (readonly)
The name of a computation.
31154 31155 31156 |
# File 'quick_sight/cfn_dashboard.rb', line 31154 def name @name end |
#value ⇒ AWSCDK::IResolvable, ... (readonly)
The value field that is used in a computation.
31159 31160 31161 |
# File 'quick_sight/cfn_dashboard.rb', line 31159 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
31161 31162 31163 31164 31165 31166 31167 |
# File 'quick_sight/cfn_dashboard.rb', line 31161 def self.jsii_properties { :computation_id => "computationId", :name => "name", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
31169 31170 31171 31172 31173 31174 31175 31176 31177 |
# File 'quick_sight/cfn_dashboard.rb', line 31169 def to_jsii result = {} result.merge!({ "computationId" => @computation_id, "name" => @name, "value" => @value, }) result.compact end |