Class: AWSCDK::QuickSight::CfnDashboard::PluginVisualConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_dashboard.rb

Overview

The plugin visual configuration.

This includes the field wells, sorting options, and persisted options of the plugin visual.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(field_wells: nil, sort_configuration: nil, visual_options: nil) ⇒ PluginVisualConfigurationProperty

Returns a new instance of PluginVisualConfigurationProperty.

Parameters:



23788
23789
23790
23791
23792
23793
23794
23795
# File 'quick_sight/cfn_dashboard.rb', line 23788

def initialize(field_wells: nil, sort_configuration: nil, visual_options: nil)
  @field_wells = field_wells
  Jsii::Type.check_type(@field_wells, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5EYXNoYm9hcmQuUGx1Z2luVmlzdWFsRmllbGRXZWxsUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "fieldWells") unless @field_wells.nil?
  @sort_configuration = sort_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::PluginVisualSortConfigurationProperty.new(**sort_configuration.transform_keys(&:to_sym)) : sort_configuration
  Jsii::Type.check_type(@sort_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5QbHVnaW5WaXN1YWxTb3J0Q29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "sortConfiguration") unless @sort_configuration.nil?
  @visual_options = visual_options.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::PluginVisualOptionsProperty.new(**visual_options.transform_keys(&:to_sym)) : visual_options
  Jsii::Type.check_type(@visual_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5QbHVnaW5WaXN1YWxPcHRpb25zUHJvcGVydHkifV19fQ==")), "visualOptions") unless @visual_options.nil?
end

Instance Attribute Details

#field_wellsAWSCDK::IResolvable, ... (readonly)

The field wells configuration of the plugin visual.



23801
23802
23803
# File 'quick_sight/cfn_dashboard.rb', line 23801

def field_wells
  @field_wells
end

#sort_configurationAWSCDK::IResolvable, ... (readonly)

The sort configuration of the plugin visual.



23806
23807
23808
# File 'quick_sight/cfn_dashboard.rb', line 23806

def sort_configuration
  @sort_configuration
end

#visual_optionsAWSCDK::IResolvable, ... (readonly)

The persisted properties of the plugin visual.



23811
23812
23813
# File 'quick_sight/cfn_dashboard.rb', line 23811

def visual_options
  @visual_options
end

Class Method Details

.jsii_propertiesObject



23813
23814
23815
23816
23817
23818
23819
# File 'quick_sight/cfn_dashboard.rb', line 23813

def self.jsii_properties
  {
    :field_wells => "fieldWells",
    :sort_configuration => "sortConfiguration",
    :visual_options => "visualOptions",
  }
end

Instance Method Details

#to_jsiiObject



23821
23822
23823
23824
23825
23826
23827
23828
23829
# File 'quick_sight/cfn_dashboard.rb', line 23821

def to_jsii
  result = {}
  result.merge!({
    "fieldWells" => @field_wells,
    "sortConfiguration" => @sort_configuration,
    "visualOptions" => @visual_options,
  })
  result.compact
end