Class: AWSCDK::QuickSight::CfnTemplate::AxisLabelReferenceOptionsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_template.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:



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

#field_idString (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_propertiesObject



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_jsiiObject



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