Class: AWSCDK::QuickSight::CfnTemplate::FieldSeriesItemProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::FieldSeriesItemProperty
- Defined in:
- quick_sight/cfn_template.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.
8905 8906 8907 8908 8909 8910 8911 8912 |
# File 'quick_sight/cfn_template.rb', line 8905 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::CfnTemplate::LineChartSeriesSettingsProperty.new(**settings.transform_keys(&:to_sym)) : settings Jsii::Type.check_type(@settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkxpbmVDaGFydFNlcmllc1NldHRpbmdzUHJvcGVydHkifV19fQ==")), "settings") unless @settings.nil? end |
Instance Attribute Details
#axis_binding ⇒ String (readonly)
The axis that you are binding the field to.
8918 8919 8920 |
# File 'quick_sight/cfn_template.rb', line 8918 def axis_binding @axis_binding end |
#field_id ⇒ String (readonly)
The field ID of the field for which you are setting the axis binding.
8923 8924 8925 |
# File 'quick_sight/cfn_template.rb', line 8923 def field_id @field_id end |
#settings ⇒ AWSCDK::IResolvable, ... (readonly)
The options that determine the presentation of line series associated to the field.
8928 8929 8930 |
# File 'quick_sight/cfn_template.rb', line 8928 def settings @settings end |
Class Method Details
.jsii_properties ⇒ Object
8930 8931 8932 8933 8934 8935 8936 |
# File 'quick_sight/cfn_template.rb', line 8930 def self.jsii_properties { :axis_binding => "axisBinding", :field_id => "fieldId", :settings => "settings", } end |
Instance Method Details
#to_jsii ⇒ Object
8938 8939 8940 8941 8942 8943 8944 8945 8946 |
# File 'quick_sight/cfn_template.rb', line 8938 def to_jsii result = {} result.merge!({ "axisBinding" => @axis_binding, "fieldId" => @field_id, "settings" => @settings, }) result.compact end |