Class: AWSCDK::QuickSight::CfnTemplate::ReferenceLineValueLabelConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::ReferenceLineValueLabelConfigurationProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The value label configuration of the label in a reference line.
Instance Attribute Summary collapse
-
#format_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The format configuration of the value label.
-
#relative_position ⇒ String?
readonly
The relative position of the value label.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(format_configuration: nil, relative_position: nil) ⇒ ReferenceLineValueLabelConfigurationProperty
constructor
A new instance of ReferenceLineValueLabelConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(format_configuration: nil, relative_position: nil) ⇒ ReferenceLineValueLabelConfigurationProperty
Returns a new instance of ReferenceLineValueLabelConfigurationProperty.
22360 22361 22362 22363 22364 22365 |
# File 'quick_sight/cfn_template.rb', line 22360 def initialize(format_configuration: nil, relative_position: nil) @format_configuration = format_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::NumericFormatConfigurationProperty.new(**format_configuration.transform_keys(&:to_sym)) : format_configuration Jsii::Type.check_type(@format_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLk51bWVyaWNGb3JtYXRDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "formatConfiguration") unless @format_configuration.nil? @relative_position = relative_position Jsii::Type.check_type(@relative_position, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "relativePosition") unless @relative_position.nil? end |
Instance Attribute Details
#format_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The format configuration of the value label.
22371 22372 22373 |
# File 'quick_sight/cfn_template.rb', line 22371 def format_configuration @format_configuration end |
#relative_position ⇒ String? (readonly)
The relative position of the value label. Choose one of the following options:.
BEFORE_CUSTOM_LABELAFTER_CUSTOM_LABEL
22379 22380 22381 |
# File 'quick_sight/cfn_template.rb', line 22379 def relative_position @relative_position end |
Class Method Details
.jsii_properties ⇒ Object
22381 22382 22383 22384 22385 22386 |
# File 'quick_sight/cfn_template.rb', line 22381 def self.jsii_properties { :format_configuration => "formatConfiguration", :relative_position => "relativePosition", } end |
Instance Method Details
#to_jsii ⇒ Object
22388 22389 22390 22391 22392 22393 22394 22395 |
# File 'quick_sight/cfn_template.rb', line 22388 def to_jsii result = {} result.merge!({ "formatConfiguration" => @format_configuration, "relativePosition" => @relative_position, }) result.compact end |