Class: AWSCDK::QuickSight::CfnDashboard::PivotTableFieldCollapseStateTargetProperty

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

Overview

The target of a pivot table field collapse state.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(field_data_path_values: nil, field_id: nil) ⇒ PivotTableFieldCollapseStateTargetProperty

Returns a new instance of PivotTableFieldCollapseStateTargetProperty.

Parameters:



22969
22970
22971
22972
22973
22974
# File 'quick_sight/cfn_dashboard.rb', line 22969

def initialize(field_data_path_values: nil, field_id: nil)
  @field_data_path_values = field_data_path_values
  Jsii::Type.check_type(@field_data_path_values, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5EYXNoYm9hcmQuRGF0YVBhdGhWYWx1ZVByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "fieldDataPathValues") unless @field_data_path_values.nil?
  @field_id = field_id
  Jsii::Type.check_type(@field_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fieldId") unless @field_id.nil?
end

Instance Attribute Details

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

The data path of the pivot table's header.

Used to set the collapse state.



22982
22983
22984
# File 'quick_sight/cfn_dashboard.rb', line 22982

def field_data_path_values
  @field_data_path_values
end

#field_idString? (readonly)

The field ID of the pivot table that the collapse state needs to be set to.



22987
22988
22989
# File 'quick_sight/cfn_dashboard.rb', line 22987

def field_id
  @field_id
end

Class Method Details

.jsii_propertiesObject



22989
22990
22991
22992
22993
22994
# File 'quick_sight/cfn_dashboard.rb', line 22989

def self.jsii_properties
  {
    :field_data_path_values => "fieldDataPathValues",
    :field_id => "fieldId",
  }
end

Instance Method Details

#to_jsiiObject



22996
22997
22998
22999
23000
23001
23002
23003
# File 'quick_sight/cfn_dashboard.rb', line 22996

def to_jsii
  result = {}
  result.merge!({
    "fieldDataPathValues" => @field_data_path_values,
    "fieldId" => @field_id,
  })
  result.compact
end