Class: AWSCDK::QuickSight::CfnDashboard::ReferenceLineCustomLabelConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::ReferenceLineCustomLabelConfigurationProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The configuration for a custom label on a ReferenceLine .
Instance Attribute Summary collapse
-
#custom_label ⇒ String
readonly
The string text of the custom label.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(custom_label:) ⇒ ReferenceLineCustomLabelConfigurationProperty
constructor
A new instance of ReferenceLineCustomLabelConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(custom_label:) ⇒ ReferenceLineCustomLabelConfigurationProperty
Returns a new instance of ReferenceLineCustomLabelConfigurationProperty.
24813 24814 24815 24816 |
# File 'quick_sight/cfn_dashboard.rb', line 24813 def initialize(custom_label:) @custom_label = custom_label Jsii::Type.check_type(@custom_label, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "customLabel") end |
Instance Attribute Details
#custom_label ⇒ String (readonly)
The string text of the custom label.
24822 24823 24824 |
# File 'quick_sight/cfn_dashboard.rb', line 24822 def custom_label @custom_label end |
Class Method Details
.jsii_properties ⇒ Object
24824 24825 24826 24827 24828 |
# File 'quick_sight/cfn_dashboard.rb', line 24824 def self.jsii_properties { :custom_label => "customLabel", } end |
Instance Method Details
#to_jsii ⇒ Object
24830 24831 24832 24833 24834 24835 24836 |
# File 'quick_sight/cfn_dashboard.rb', line 24830 def to_jsii result = {} result.merge!({ "customLabel" => @custom_label, }) result.compact end |