Class: AWSCDK::QuickSight::CfnDashboard::PluginVisualFieldWellProperty

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

Overview

A collection of field wells for a plugin visual.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(axis_name: nil, dimensions: nil, measures: nil, unaggregated: nil) ⇒ PluginVisualFieldWellProperty

Returns a new instance of PluginVisualFieldWellProperty.

Parameters:



23842
23843
23844
23845
23846
23847
23848
23849
23850
23851
# File 'quick_sight/cfn_dashboard.rb', line 23842

def initialize(axis_name: nil, dimensions: nil, measures: nil, unaggregated: nil)
  @axis_name = axis_name
  Jsii::Type.check_type(@axis_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "axisName") unless @axis_name.nil?
  @dimensions = dimensions
  Jsii::Type.check_type(@dimensions, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5EYXNoYm9hcmQuRGltZW5zaW9uRmllbGRQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "dimensions") unless @dimensions.nil?
  @measures = measures
  Jsii::Type.check_type(@measures, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5EYXNoYm9hcmQuTWVhc3VyZUZpZWxkUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "measures") unless @measures.nil?
  @unaggregated = unaggregated
  Jsii::Type.check_type(@unaggregated, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5EYXNoYm9hcmQuVW5hZ2dyZWdhdGVkRmllbGRQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "unaggregated") unless @unaggregated.nil?
end

Instance Attribute Details

#axis_nameString? (readonly)

The semantic axis name for the field well.



23857
23858
23859
# File 'quick_sight/cfn_dashboard.rb', line 23857

def axis_name
  @axis_name
end

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

A list of dimensions for the field well.



23862
23863
23864
# File 'quick_sight/cfn_dashboard.rb', line 23862

def dimensions
  @dimensions
end

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

A list of measures that exist in the field well.



23867
23868
23869
# File 'quick_sight/cfn_dashboard.rb', line 23867

def measures
  @measures
end

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

A list of unaggregated fields that exist in the field well.



23872
23873
23874
# File 'quick_sight/cfn_dashboard.rb', line 23872

def unaggregated
  @unaggregated
end

Class Method Details

.jsii_propertiesObject



23874
23875
23876
23877
23878
23879
23880
23881
# File 'quick_sight/cfn_dashboard.rb', line 23874

def self.jsii_properties
  {
    :axis_name => "axisName",
    :dimensions => "dimensions",
    :measures => "measures",
    :unaggregated => "unaggregated",
  }
end

Instance Method Details

#to_jsiiObject



23883
23884
23885
23886
23887
23888
23889
23890
23891
23892
# File 'quick_sight/cfn_dashboard.rb', line 23883

def to_jsii
  result = {}
  result.merge!({
    "axisName" => @axis_name,
    "dimensions" => @dimensions,
    "measures" => @measures,
    "unaggregated" => @unaggregated,
  })
  result.compact
end