Class: AWSCDK::QuickSight::CfnDashboard::PivotTableConditionalFormattingScopeProperty

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



22753
22754
22755
22756
# File 'quick_sight/cfn_dashboard.rb', line 22753

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.



22762
22763
22764
# File 'quick_sight/cfn_dashboard.rb', line 22762

def role
  @role
end

Class Method Details

.jsii_propertiesObject



22764
22765
22766
22767
22768
# File 'quick_sight/cfn_dashboard.rb', line 22764

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

Instance Method Details

#to_jsiiObject



22770
22771
22772
22773
22774
22775
22776
# File 'quick_sight/cfn_dashboard.rb', line 22770

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