Class: AWSCDK::QuickSight::CfnTemplate::TotalAggregationComputationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::TotalAggregationComputationProperty
- Defined in:
- quick_sight/cfn_template.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.
28380 28381 28382 28383 28384 28385 28386 28387 |
# File 'quick_sight/cfn_template.rb', line 28380 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::CfnTemplate::MeasureFieldProperty.new(**value.transform_keys(&:to_sym)) : value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLk1lYXN1cmVGaWVsZFByb3BlcnR5In1dfX0=")), "value") unless @value.nil? end |
Instance Attribute Details
#computation_id ⇒ String (readonly)
The ID for a computation.
28393 28394 28395 |
# File 'quick_sight/cfn_template.rb', line 28393 def computation_id @computation_id end |
#name ⇒ String? (readonly)
The name of a computation.
28398 28399 28400 |
# File 'quick_sight/cfn_template.rb', line 28398 def name @name end |
#value ⇒ AWSCDK::IResolvable, ... (readonly)
The value field that is used in a computation.
28403 28404 28405 |
# File 'quick_sight/cfn_template.rb', line 28403 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
28405 28406 28407 28408 28409 28410 28411 |
# File 'quick_sight/cfn_template.rb', line 28405 def self.jsii_properties { :computation_id => "computationId", :name => "name", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
28413 28414 28415 28416 28417 28418 28419 28420 28421 |
# File 'quick_sight/cfn_template.rb', line 28413 def to_jsii result = {} result.merge!({ "computationId" => @computation_id, "name" => @name, "value" => @value, }) result.compact end |