Class: AWSCDK::QuickSight::CfnAnalysis::PivotTableConditionalFormattingScopeProperty

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

Overview

The scope of the cell for conditional formatting.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(role: nil) ⇒ PivotTableConditionalFormattingScopeProperty

Returns a new instance of PivotTableConditionalFormattingScopeProperty.

Parameters:

  • role (String, nil) (defaults to: nil)

    The role (field, field total, grand total) of the cell for conditional formatting.



21781
21782
21783
21784
# File 'quick_sight/cfn_analysis.rb', line 21781

def initialize(role: nil)
  @role = role
  Jsii::Type.check_type(@role, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "role") unless @role.nil?
end

Instance Attribute Details

#roleString? (readonly)

The role (field, field total, grand total) of the cell for conditional formatting.



21790
21791
21792
# File 'quick_sight/cfn_analysis.rb', line 21790

def role
  @role
end

Class Method Details

.jsii_propertiesObject



21792
21793
21794
21795
21796
# File 'quick_sight/cfn_analysis.rb', line 21792

def self.jsii_properties
  {
    :role => "role",
  }
end

Instance Method Details

#to_jsiiObject



21798
21799
21800
21801
21802
21803
21804
# File 'quick_sight/cfn_analysis.rb', line 21798

def to_jsii
  result = {}
  result.merge!({
    "role" => @role,
  })
  result.compact
end