Class: AWSCDK::QuickSight::CfnTemplate::ReferenceLineCustomLabelConfigurationProperty

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



21967
21968
21969
21970
# File 'quick_sight/cfn_template.rb', line 21967

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.



21976
21977
21978
# File 'quick_sight/cfn_template.rb', line 21976

def custom_label
  @custom_label
end

Class Method Details

.jsii_propertiesObject



21978
21979
21980
21981
21982
# File 'quick_sight/cfn_template.rb', line 21978

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

Instance Method Details

#to_jsiiObject



21984
21985
21986
21987
21988
21989
21990
# File 'quick_sight/cfn_template.rb', line 21984

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