Class: AWSCDK::QuickSight::CfnAnalysis::AxisLabelReferenceOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::AxisLabelReferenceOptionsProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
The reference that specifies where the axis label is applied to.
Instance Attribute Summary collapse
-
#column ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnAnalysis::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.
1714 1715 1716 1717 1718 1719 |
# File 'quick_sight/cfn_analysis.rb', line 1714 def initialize(column:, field_id:) @column = column.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::ColumnIdentifierProperty.new(**column.transform_keys(&:to_sym)) : column Jsii::Type.check_type(@column, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkNvbHVtbklkZW50aWZpZXJQcm9wZXJ0eSJ9XX19")), "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::CfnAnalysis::ColumnIdentifierProperty (readonly)
The column that the axis label is targeted to.
1725 1726 1727 |
# File 'quick_sight/cfn_analysis.rb', line 1725 def column @column end |
#field_id ⇒ String (readonly)
The field that the axis label is targeted to.
1730 1731 1732 |
# File 'quick_sight/cfn_analysis.rb', line 1730 def field_id @field_id end |
Class Method Details
.jsii_properties ⇒ Object
1732 1733 1734 1735 1736 1737 |
# File 'quick_sight/cfn_analysis.rb', line 1732 def self.jsii_properties { :column => "column", :field_id => "fieldId", } end |
Instance Method Details
#to_jsii ⇒ Object
1739 1740 1741 1742 1743 1744 1745 1746 |
# File 'quick_sight/cfn_analysis.rb', line 1739 def to_jsii result = {} result.merge!({ "column" => @column, "fieldId" => @field_id, }) result.compact end |