Class: AWSCDK::QuickSight::CfnTemplate::DefaultFilterControlConfigurationProperty

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

Overview

The default configuration for all dependent controls of the filter.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(control_options:, title:) ⇒ DefaultFilterControlConfigurationProperty

Returns a new instance of DefaultFilterControlConfigurationProperty.

Parameters:



7534
7535
7536
7537
7538
7539
# File 'quick_sight/cfn_template.rb', line 7534

def initialize(control_options:, title:)
  @control_options = control_options.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::DefaultFilterControlOptionsProperty.new(**control_options.transform_keys(&:to_sym)) : control_options
  Jsii::Type.check_type(@control_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkRlZmF1bHRGaWx0ZXJDb250cm9sT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "controlOptions")
  @title = title
  Jsii::Type.check_type(@title, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "title")
end

Instance Attribute Details

#titleString (readonly)

The title of the DefaultFilterControlConfiguration .

This title is shared by all controls that are tied to this filter.



7552
7553
7554
# File 'quick_sight/cfn_template.rb', line 7552

def title
  @title
end

Class Method Details

.jsii_propertiesObject



7554
7555
7556
7557
7558
7559
# File 'quick_sight/cfn_template.rb', line 7554

def self.jsii_properties
  {
    :control_options => "controlOptions",
    :title => "title",
  }
end

Instance Method Details

#to_jsiiObject



7561
7562
7563
7564
7565
7566
7567
7568
# File 'quick_sight/cfn_template.rb', line 7561

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