Class: AWSCDK::QuickSight::CfnDashboard::FieldSeriesItemProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::FieldSeriesItemProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The field series item configuration of a line chart.
Instance Attribute Summary collapse
-
#axis_binding ⇒ String
readonly
The axis that you are binding the field to.
-
#field_id ⇒ String
readonly
The field ID of the field for which you are setting the axis binding.
-
#settings ⇒ AWSCDK::IResolvable, ...
readonly
The options that determine the presentation of line series associated to the field.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(axis_binding:, field_id:, settings: nil) ⇒ FieldSeriesItemProperty
constructor
A new instance of FieldSeriesItemProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(axis_binding:, field_id:, settings: nil) ⇒ FieldSeriesItemProperty
Returns a new instance of FieldSeriesItemProperty.
9850 9851 9852 9853 9854 9855 9856 9857 |
# File 'quick_sight/cfn_dashboard.rb', line 9850 def initialize(axis_binding:, field_id:, settings: nil) @axis_binding = axis_binding Jsii::Type.check_type(@axis_binding, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "axisBinding") @field_id = field_id Jsii::Type.check_type(@field_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fieldId") @settings = settings.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::LineChartSeriesSettingsProperty.new(**settings.transform_keys(&:to_sym)) : settings Jsii::Type.check_type(@settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5MaW5lQ2hhcnRTZXJpZXNTZXR0aW5nc1Byb3BlcnR5In1dfX0=")), "settings") unless @settings.nil? end |
Instance Attribute Details
#axis_binding ⇒ String (readonly)
The axis that you are binding the field to.
9863 9864 9865 |
# File 'quick_sight/cfn_dashboard.rb', line 9863 def axis_binding @axis_binding end |
#field_id ⇒ String (readonly)
The field ID of the field for which you are setting the axis binding.
9868 9869 9870 |
# File 'quick_sight/cfn_dashboard.rb', line 9868 def field_id @field_id end |
#settings ⇒ AWSCDK::IResolvable, ... (readonly)
The options that determine the presentation of line series associated to the field.
9873 9874 9875 |
# File 'quick_sight/cfn_dashboard.rb', line 9873 def settings @settings end |
Class Method Details
.jsii_properties ⇒ Object
9875 9876 9877 9878 9879 9880 9881 |
# File 'quick_sight/cfn_dashboard.rb', line 9875 def self.jsii_properties { :axis_binding => "axisBinding", :field_id => "fieldId", :settings => "settings", } end |
Instance Method Details
#to_jsii ⇒ Object
9883 9884 9885 9886 9887 9888 9889 9890 9891 |
# File 'quick_sight/cfn_dashboard.rb', line 9883 def to_jsii result = {} result.merge!({ "axisBinding" => @axis_binding, "fieldId" => @field_id, "settings" => @settings, }) result.compact end |