Class: AWSCDK::QuickSight::CfnTemplate::ReferenceLineProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::ReferenceLineProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The reference line visual display options.
Instance Attribute Summary collapse
-
#data_configuration ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnTemplate::ReferenceLineDataConfigurationProperty
readonly
The data configuration of the reference line.
-
#label_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The label configuration of the reference line.
-
#status ⇒ String?
readonly
The status of the reference line.
-
#style_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The style configuration of the reference line.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(data_configuration:, label_configuration: nil, status: nil, style_configuration: nil) ⇒ ReferenceLineProperty
constructor
A new instance of ReferenceLineProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(data_configuration:, label_configuration: nil, status: nil, style_configuration: nil) ⇒ ReferenceLineProperty
Returns a new instance of ReferenceLineProperty.
22215 22216 22217 22218 22219 22220 22221 22222 22223 22224 |
# File 'quick_sight/cfn_template.rb', line 22215 def initialize(data_configuration:, label_configuration: nil, status: nil, style_configuration: nil) @data_configuration = data_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::ReferenceLineDataConfigurationProperty.new(**data_configuration.transform_keys(&:to_sym)) : data_configuration Jsii::Type.check_type(@data_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlJlZmVyZW5jZUxpbmVEYXRhQ29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "dataConfiguration") @label_configuration = label_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::ReferenceLineLabelConfigurationProperty.new(**label_configuration.transform_keys(&:to_sym)) : label_configuration Jsii::Type.check_type(@label_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlJlZmVyZW5jZUxpbmVMYWJlbENvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "labelConfiguration") unless @label_configuration.nil? @status = status Jsii::Type.check_type(@status, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "status") unless @status.nil? @style_configuration = style_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::ReferenceLineStyleConfigurationProperty.new(**style_configuration.transform_keys(&:to_sym)) : style_configuration Jsii::Type.check_type(@style_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlJlZmVyZW5jZUxpbmVTdHlsZUNvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "styleConfiguration") unless @style_configuration.nil? end |
Instance Attribute Details
#data_configuration ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnTemplate::ReferenceLineDataConfigurationProperty (readonly)
The data configuration of the reference line.
22230 22231 22232 |
# File 'quick_sight/cfn_template.rb', line 22230 def data_configuration @data_configuration end |
#label_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The label configuration of the reference line.
22235 22236 22237 |
# File 'quick_sight/cfn_template.rb', line 22235 def label_configuration @label_configuration end |
#status ⇒ String? (readonly)
The status of the reference line. Choose one of the following options:.
ENABLEDISABLE
22243 22244 22245 |
# File 'quick_sight/cfn_template.rb', line 22243 def status @status end |
#style_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The style configuration of the reference line.
22248 22249 22250 |
# File 'quick_sight/cfn_template.rb', line 22248 def style_configuration @style_configuration end |
Class Method Details
.jsii_properties ⇒ Object
22250 22251 22252 22253 22254 22255 22256 22257 |
# File 'quick_sight/cfn_template.rb', line 22250 def self.jsii_properties { :data_configuration => "dataConfiguration", :label_configuration => "labelConfiguration", :status => "status", :style_configuration => "styleConfiguration", } end |
Instance Method Details
#to_jsii ⇒ Object
22259 22260 22261 22262 22263 22264 22265 22266 22267 22268 |
# File 'quick_sight/cfn_template.rb', line 22259 def to_jsii result = {} result.merge!({ "dataConfiguration" => @data_configuration, "labelConfiguration" => @label_configuration, "status" => @status, "styleConfiguration" => @style_configuration, }) result.compact end |