Class: AWSCDK::QuickSight::CfnTemplate::PluginVisualFieldWellProperty

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



20996
20997
20998
20999
21000
21001
21002
21003
21004
21005
# File 'quick_sight/cfn_template.rb', line 20996

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("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5UZW1wbGF0ZS5EaW1lbnNpb25GaWVsZFByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "dimensions") unless @dimensions.nil?
  @measures = measures
  Jsii::Type.check_type(@measures, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5UZW1wbGF0ZS5NZWFzdXJlRmllbGRQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "measures") unless @measures.nil?
  @unaggregated = unaggregated
  Jsii::Type.check_type(@unaggregated, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5UZW1wbGF0ZS5VbmFnZ3JlZ2F0ZWRGaWVsZFByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "unaggregated") unless @unaggregated.nil?
end

Instance Attribute Details

#axis_nameString? (readonly)

The semantic axis name for the field well.



21011
21012
21013
# File 'quick_sight/cfn_template.rb', line 21011

def axis_name
  @axis_name
end

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

A list of dimensions for the field well.



21016
21017
21018
# File 'quick_sight/cfn_template.rb', line 21016

def dimensions
  @dimensions
end

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

A list of measures that exist in the field well.



21021
21022
21023
# File 'quick_sight/cfn_template.rb', line 21021

def measures
  @measures
end

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

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



21026
21027
21028
# File 'quick_sight/cfn_template.rb', line 21026

def unaggregated
  @unaggregated
end

Class Method Details

.jsii_propertiesObject



21028
21029
21030
21031
21032
21033
21034
21035
# File 'quick_sight/cfn_template.rb', line 21028

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

Instance Method Details

#to_jsiiObject



21037
21038
21039
21040
21041
21042
21043
21044
21045
21046
# File 'quick_sight/cfn_template.rb', line 21037

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