Class: AWSCDK::QuickSight::CfnDashboard::DataPathValueProperty

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

Overview

The data path that needs to be sorted.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data_path_type: nil, field_id: nil, field_value: nil) ⇒ DataPathValueProperty

Returns a new instance of DataPathValueProperty.

Parameters:



7179
7180
7181
7182
7183
7184
7185
7186
# File 'quick_sight/cfn_dashboard.rb', line 7179

def initialize(data_path_type: nil, field_id: nil, field_value: nil)
  @data_path_type = data_path_type.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::DataPathTypeProperty.new(**data_path_type.transform_keys(&:to_sym)) : data_path_type
  Jsii::Type.check_type(@data_path_type, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5EYXRhUGF0aFR5cGVQcm9wZXJ0eSJ9XX19")), "dataPathType") unless @data_path_type.nil?
  @field_id = field_id
  Jsii::Type.check_type(@field_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fieldId") unless @field_id.nil?
  @field_value = field_value
  Jsii::Type.check_type(@field_value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fieldValue") unless @field_value.nil?
end

Instance Attribute Details

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

The type configuration of the field.



7192
7193
7194
# File 'quick_sight/cfn_dashboard.rb', line 7192

def data_path_type
  @data_path_type
end

#field_idString? (readonly)

The field ID of the field that needs to be sorted.



7197
7198
7199
# File 'quick_sight/cfn_dashboard.rb', line 7197

def field_id
  @field_id
end

#field_valueString? (readonly)

The actual value of the field that needs to be sorted.



7202
7203
7204
# File 'quick_sight/cfn_dashboard.rb', line 7202

def field_value
  @field_value
end

Class Method Details

.jsii_propertiesObject



7204
7205
7206
7207
7208
7209
7210
# File 'quick_sight/cfn_dashboard.rb', line 7204

def self.jsii_properties
  {
    :data_path_type => "dataPathType",
    :field_id => "fieldId",
    :field_value => "fieldValue",
  }
end

Instance Method Details

#to_jsiiObject



7212
7213
7214
7215
7216
7217
7218
7219
7220
# File 'quick_sight/cfn_dashboard.rb', line 7212

def to_jsii
  result = {}
  result.merge!({
    "dataPathType" => @data_path_type,
    "fieldId" => @field_id,
    "fieldValue" => @field_value,
  })
  result.compact
end