Class: AWSCDK::QuickSight::CfnDashboard::PivotTableRowsLabelOptionsProperty

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

Overview

The options for the label thta is located above the row headers.

This option is only applicable when RowsLayout is set to HIERARCHY .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(custom_label: nil, visibility: nil) ⇒ PivotTableRowsLabelOptionsProperty

Returns a new instance of PivotTableRowsLabelOptionsProperty.

Parameters:

  • custom_label (String, nil) (defaults to: nil)

    The custom label string for the rows label.

  • visibility (String, nil) (defaults to: nil)

    The visibility of the rows label.



23393
23394
23395
23396
23397
23398
# File 'quick_sight/cfn_dashboard.rb', line 23393

def initialize(custom_label: nil, visibility: nil)
  @custom_label = custom_label
  Jsii::Type.check_type(@custom_label, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "customLabel") unless @custom_label.nil?
  @visibility = visibility
  Jsii::Type.check_type(@visibility, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "visibility") unless @visibility.nil?
end

Instance Attribute Details

#custom_labelString? (readonly)

The custom label string for the rows label.



23404
23405
23406
# File 'quick_sight/cfn_dashboard.rb', line 23404

def custom_label
  @custom_label
end

#visibilityString? (readonly)

The visibility of the rows label.



23409
23410
23411
# File 'quick_sight/cfn_dashboard.rb', line 23409

def visibility
  @visibility
end

Class Method Details

.jsii_propertiesObject



23411
23412
23413
23414
23415
23416
# File 'quick_sight/cfn_dashboard.rb', line 23411

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

Instance Method Details

#to_jsiiObject



23418
23419
23420
23421
23422
23423
23424
23425
# File 'quick_sight/cfn_dashboard.rb', line 23418

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