Class: AWSCDK::QuickSight::CfnTemplate::DestinationParameterValueConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::DestinationParameterValueConfigurationProperty
- Defined in:
- quick_sight/cfn_template.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.
8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 |
# File 'quick_sight/cfn_template.rb', line 8225 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::CfnTemplate::CustomValuesConfigurationProperty.new(**custom_values_configuration.transform_keys(&:to_sym)) : custom_values_configuration Jsii::Type.check_type(@custom_values_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkN1c3RvbVZhbHVlc0NvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "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::CfnTemplate::ColumnIdentifierProperty.new(**source_column.transform_keys(&:to_sym)) : source_column Jsii::Type.check_type(@source_column, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkNvbHVtbklkZW50aWZpZXJQcm9wZXJ0eSJ9XX19")), "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 .
8242 8243 8244 |
# File 'quick_sight/cfn_template.rb', line 8242 def custom_values_configuration @custom_values_configuration end |
#select_all_value_options ⇒ String? (readonly)
The configuration that selects all options.
8247 8248 8249 |
# File 'quick_sight/cfn_template.rb', line 8247 def @select_all_value_options end |
#source_column ⇒ AWSCDK::IResolvable, ... (readonly)
A column of a data set.
8252 8253 8254 |
# File 'quick_sight/cfn_template.rb', line 8252 def source_column @source_column end |
#source_field ⇒ String? (readonly)
The source field ID of the destination parameter.
8257 8258 8259 |
# File 'quick_sight/cfn_template.rb', line 8257 def source_field @source_field end |
#source_parameter_name ⇒ String? (readonly)
The source parameter name of the destination parameter.
8262 8263 8264 |
# File 'quick_sight/cfn_template.rb', line 8262 def source_parameter_name @source_parameter_name end |
Class Method Details
.jsii_properties ⇒ Object
8264 8265 8266 8267 8268 8269 8270 8271 8272 |
# File 'quick_sight/cfn_template.rb', line 8264 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
8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 |
# File 'quick_sight/cfn_template.rb', line 8274 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 |