Class: AWSCDK::QuickSight::CfnTemplate::DataPathValueProperty

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



6576
6577
6578
6579
6580
6581
6582
6583
# File 'quick_sight/cfn_template.rb', line 6576

def initialize(data_path_type: nil, field_id: nil, field_value: nil)
  @data_path_type = data_path_type.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::DataPathTypeProperty.new(**data_path_type.transform_keys(&:to_sym)) : data_path_type
  Jsii::Type.check_type(@data_path_type, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkRhdGFQYXRoVHlwZVByb3BlcnR5In1dfX0=")), "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.



6589
6590
6591
# File 'quick_sight/cfn_template.rb', line 6589

def data_path_type
  @data_path_type
end

#field_idString? (readonly)

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



6594
6595
6596
# File 'quick_sight/cfn_template.rb', line 6594

def field_id
  @field_id
end

#field_valueString? (readonly)

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



6599
6600
6601
# File 'quick_sight/cfn_template.rb', line 6599

def field_value
  @field_value
end

Class Method Details

.jsii_propertiesObject



6601
6602
6603
6604
6605
6606
6607
# File 'quick_sight/cfn_template.rb', line 6601

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

Instance Method Details

#to_jsiiObject



6609
6610
6611
6612
6613
6614
6615
6616
6617
# File 'quick_sight/cfn_template.rb', line 6609

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