Class: AWSCDK::QuickSight::CfnDashboard::AxisLabelReferenceOptionsProperty

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

Overview

The reference that specifies where the axis label is applied to.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(column:, field_id:) ⇒ AxisLabelReferenceOptionsProperty

Returns a new instance of AxisLabelReferenceOptionsProperty.

Parameters:



1580
1581
1582
1583
1584
1585
# File 'quick_sight/cfn_dashboard.rb', line 1580

def initialize(column:, field_id:)
  @column = column.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::ColumnIdentifierProperty.new(**column.transform_keys(&:to_sym)) : column
  Jsii::Type.check_type(@column, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5Db2x1bW5JZGVudGlmaWVyUHJvcGVydHkifV19fQ==")), "column")
  @field_id = field_id
  Jsii::Type.check_type(@field_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fieldId")
end

Instance Attribute Details

#field_idString (readonly)

The field that the axis label is targeted to.



1596
1597
1598
# File 'quick_sight/cfn_dashboard.rb', line 1596

def field_id
  @field_id
end

Class Method Details

.jsii_propertiesObject



1598
1599
1600
1601
1602
1603
# File 'quick_sight/cfn_dashboard.rb', line 1598

def self.jsii_properties
  {
    :column => "column",
    :field_id => "fieldId",
  }
end

Instance Method Details

#to_jsiiObject



1605
1606
1607
1608
1609
1610
1611
1612
# File 'quick_sight/cfn_dashboard.rb', line 1605

def to_jsii
  result = {}
  result.merge!({
    "column" => @column,
    "fieldId" => @field_id,
  })
  result.compact
end