Class: AWSCDK::QuickSight::CfnDashboard::ReferenceLineCustomLabelConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_dashboard.rb

Overview

The configuration for a custom label on a ReferenceLine .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(custom_label:) ⇒ ReferenceLineCustomLabelConfigurationProperty

Returns a new instance of ReferenceLineCustomLabelConfigurationProperty.

Parameters:

  • custom_label (String)

    The string text of the custom label.



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_labelString (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_propertiesObject



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_jsiiObject



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