Class: AWSCDK::QuickSight::CfnDashboard::DestinationParameterValueConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::DestinationParameterValueConfigurationProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The configuration of destination parameter values.
This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
Instance Attribute Summary collapse
-
#custom_values_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The configuration of custom values for destination parameter in
DestinationParameterValueConfiguration. -
#select_all_value_options ⇒ String?
readonly
The configuration that selects all options.
-
#source_column ⇒ AWSCDK::IResolvable, ...
readonly
A column of a data set.
-
#source_field ⇒ String?
readonly
The source field ID of the destination parameter.
-
#source_parameter_name ⇒ String?
readonly
The source parameter name of the destination parameter.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(custom_values_configuration: nil, select_all_value_options: nil, source_column: nil, source_field: nil, source_parameter_name: nil) ⇒ DestinationParameterValueConfigurationProperty
constructor
A new instance of DestinationParameterValueConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(custom_values_configuration: nil, select_all_value_options: nil, source_column: nil, source_field: nil, source_parameter_name: nil) ⇒ DestinationParameterValueConfigurationProperty
Returns a new instance of DestinationParameterValueConfigurationProperty.
9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 |
# File 'quick_sight/cfn_dashboard.rb', line 9038 def initialize(custom_values_configuration: nil, select_all_value_options: nil, source_column: nil, source_field: nil, source_parameter_name: nil) @custom_values_configuration = custom_values_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::CustomValuesConfigurationProperty.new(**custom_values_configuration.transform_keys(&:to_sym)) : custom_values_configuration Jsii::Type.check_type(@custom_values_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5DdXN0b21WYWx1ZXNDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "customValuesConfiguration") unless @custom_values_configuration.nil? @select_all_value_options = Jsii::Type.check_type(@select_all_value_options, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "selectAllValueOptions") unless @select_all_value_options.nil? @source_column = source_column.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::ColumnIdentifierProperty.new(**source_column.transform_keys(&:to_sym)) : source_column Jsii::Type.check_type(@source_column, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5Db2x1bW5JZGVudGlmaWVyUHJvcGVydHkifV19fQ==")), "sourceColumn") unless @source_column.nil? @source_field = source_field Jsii::Type.check_type(@source_field, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sourceField") unless @source_field.nil? @source_parameter_name = source_parameter_name Jsii::Type.check_type(@source_parameter_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sourceParameterName") unless @source_parameter_name.nil? end |
Instance Attribute Details
#custom_values_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The configuration of custom values for destination parameter in DestinationParameterValueConfiguration .
9055 9056 9057 |
# File 'quick_sight/cfn_dashboard.rb', line 9055 def custom_values_configuration @custom_values_configuration end |
#select_all_value_options ⇒ String? (readonly)
The configuration that selects all options.
9060 9061 9062 |
# File 'quick_sight/cfn_dashboard.rb', line 9060 def @select_all_value_options end |
#source_column ⇒ AWSCDK::IResolvable, ... (readonly)
A column of a data set.
9065 9066 9067 |
# File 'quick_sight/cfn_dashboard.rb', line 9065 def source_column @source_column end |
#source_field ⇒ String? (readonly)
The source field ID of the destination parameter.
9070 9071 9072 |
# File 'quick_sight/cfn_dashboard.rb', line 9070 def source_field @source_field end |
#source_parameter_name ⇒ String? (readonly)
The source parameter name of the destination parameter.
9075 9076 9077 |
# File 'quick_sight/cfn_dashboard.rb', line 9075 def source_parameter_name @source_parameter_name end |
Class Method Details
.jsii_properties ⇒ Object
9077 9078 9079 9080 9081 9082 9083 9084 9085 |
# File 'quick_sight/cfn_dashboard.rb', line 9077 def self.jsii_properties { :custom_values_configuration => "customValuesConfiguration", :select_all_value_options => "selectAllValueOptions", :source_column => "sourceColumn", :source_field => "sourceField", :source_parameter_name => "sourceParameterName", } end |
Instance Method Details
#to_jsii ⇒ Object
9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 |
# File 'quick_sight/cfn_dashboard.rb', line 9087 def to_jsii result = {} result.merge!({ "customValuesConfiguration" => @custom_values_configuration, "selectAllValueOptions" => @select_all_value_options, "sourceColumn" => @source_column, "sourceField" => @source_field, "sourceParameterName" => @source_parameter_name, }) result.compact end |