Class: AWSCDK::QuickSight::CfnDashboard::AxisLabelReferenceOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::AxisLabelReferenceOptionsProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The reference that specifies where the axis label is applied to.
Instance Attribute Summary collapse
-
#column ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnDashboard::ColumnIdentifierProperty
readonly
The column that the axis label is targeted to.
-
#field_id ⇒ String
readonly
The field that the axis label is targeted to.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(column:, field_id:) ⇒ AxisLabelReferenceOptionsProperty
constructor
A new instance of AxisLabelReferenceOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(column:, field_id:) ⇒ AxisLabelReferenceOptionsProperty
Returns a new instance of AxisLabelReferenceOptionsProperty.
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
#column ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnDashboard::ColumnIdentifierProperty (readonly)
The column that the axis label is targeted to.
1591 1592 1593 |
# File 'quick_sight/cfn_dashboard.rb', line 1591 def column @column end |
#field_id ⇒ String (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_properties ⇒ Object
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_jsii ⇒ Object
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 |