Class: AWSCDK::QuickSight::CfnAnalysis::ReferenceLineCustomLabelConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_analysis.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.



23841
23842
23843
23844
# File 'quick_sight/cfn_analysis.rb', line 23841

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.



23850
23851
23852
# File 'quick_sight/cfn_analysis.rb', line 23850

def custom_label
  @custom_label
end

Class Method Details

.jsii_propertiesObject



23852
23853
23854
23855
23856
# File 'quick_sight/cfn_analysis.rb', line 23852

def self.jsii_properties
  {
    :custom_label => "customLabel",
  }
end

Instance Method Details

#to_jsiiObject



23858
23859
23860
23861
23862
23863
23864
# File 'quick_sight/cfn_analysis.rb', line 23858

def to_jsii
  result = {}
  result.merge!({
    "customLabel" => @custom_label,
  })
  result.compact
end