Class: AWSCDK::QuickSight::CfnTemplate::AxisLabelReferenceOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::AxisLabelReferenceOptionsProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The reference that specifies where the axis label is applied to.
Instance Attribute Summary collapse
-
#column ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnTemplate::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.
1436 1437 1438 1439 1440 1441 |
# File 'quick_sight/cfn_template.rb', line 1436 def initialize(column:, field_id:) @column = column.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::ColumnIdentifierProperty.new(**column.transform_keys(&:to_sym)) : column Jsii::Type.check_type(@column, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkNvbHVtbklkZW50aWZpZXJQcm9wZXJ0eSJ9XX19")), "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::CfnTemplate::ColumnIdentifierProperty (readonly)
The column that the axis label is targeted to.
1447 1448 1449 |
# File 'quick_sight/cfn_template.rb', line 1447 def column @column end |
#field_id ⇒ String (readonly)
The field that the axis label is targeted to.
1452 1453 1454 |
# File 'quick_sight/cfn_template.rb', line 1452 def field_id @field_id end |
Class Method Details
.jsii_properties ⇒ Object
1454 1455 1456 1457 1458 1459 |
# File 'quick_sight/cfn_template.rb', line 1454 def self.jsii_properties { :column => "column", :field_id => "fieldId", } end |
Instance Method Details
#to_jsii ⇒ Object
1461 1462 1463 1464 1465 1466 1467 1468 |
# File 'quick_sight/cfn_template.rb', line 1461 def to_jsii result = {} result.merge!({ "column" => @column, "fieldId" => @field_id, }) result.compact end |