Class: AWSCDK::QuickSight::CfnTemplate::CalculatedFieldProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::CalculatedFieldProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The calculated field of an analysis.
Instance Attribute Summary collapse
-
#data_set_identifier ⇒ String
readonly
The data set that is used in this calculated field.
-
#expression ⇒ String
readonly
The expression of the calculated field.
-
#name ⇒ String
readonly
The name of the calculated field.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(data_set_identifier:, expression:, name:) ⇒ CalculatedFieldProperty
constructor
A new instance of CalculatedFieldProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(data_set_identifier:, expression:, name:) ⇒ CalculatedFieldProperty
Returns a new instance of CalculatedFieldProperty.
2997 2998 2999 3000 3001 3002 3003 3004 |
# File 'quick_sight/cfn_template.rb', line 2997 def initialize(data_set_identifier:, expression:, name:) @data_set_identifier = data_set_identifier Jsii::Type.check_type(@data_set_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "dataSetIdentifier") @expression = expression Jsii::Type.check_type(@expression, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "expression") @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") end |
Instance Attribute Details
#data_set_identifier ⇒ String (readonly)
The data set that is used in this calculated field.
3010 3011 3012 |
# File 'quick_sight/cfn_template.rb', line 3010 def data_set_identifier @data_set_identifier end |
#expression ⇒ String (readonly)
The expression of the calculated field.
3015 3016 3017 |
# File 'quick_sight/cfn_template.rb', line 3015 def expression @expression end |
#name ⇒ String (readonly)
The name of the calculated field.
3020 3021 3022 |
# File 'quick_sight/cfn_template.rb', line 3020 def name @name end |
Class Method Details
.jsii_properties ⇒ Object
3022 3023 3024 3025 3026 3027 3028 |
# File 'quick_sight/cfn_template.rb', line 3022 def self.jsii_properties { :data_set_identifier => "dataSetIdentifier", :expression => "expression", :name => "name", } end |
Instance Method Details
#to_jsii ⇒ Object
3030 3031 3032 3033 3034 3035 3036 3037 3038 |
# File 'quick_sight/cfn_template.rb', line 3030 def to_jsii result = {} result.merge!({ "dataSetIdentifier" => @data_set_identifier, "expression" => @expression, "name" => @name, }) result.compact end |