Class: AWSCDK::QuickSight::CfnDashboard::SheetElementRenderingRuleProperty

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

Overview

The rendering rules of a sheet that uses a free-form layout.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(configuration_overrides:, expression:) ⇒ SheetElementRenderingRuleProperty

Returns a new instance of SheetElementRenderingRuleProperty.

Parameters:



27269
27270
27271
27272
27273
27274
# File 'quick_sight/cfn_dashboard.rb', line 27269

def initialize(configuration_overrides:, expression:)
  @configuration_overrides = configuration_overrides.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::SheetElementConfigurationOverridesProperty.new(**configuration_overrides.transform_keys(&:to_sym)) : configuration_overrides
  Jsii::Type.check_type(@configuration_overrides, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5TaGVldEVsZW1lbnRDb25maWd1cmF0aW9uT3ZlcnJpZGVzUHJvcGVydHkifV19fQ==")), "configurationOverrides")
  @expression = expression
  Jsii::Type.check_type(@expression, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "expression")
end

Instance Attribute Details

#expressionString (readonly)

The expression of the rendering rules of a sheet.



27285
27286
27287
# File 'quick_sight/cfn_dashboard.rb', line 27285

def expression
  @expression
end

Class Method Details

.jsii_propertiesObject



27287
27288
27289
27290
27291
27292
# File 'quick_sight/cfn_dashboard.rb', line 27287

def self.jsii_properties
  {
    :configuration_overrides => "configurationOverrides",
    :expression => "expression",
  }
end

Instance Method Details

#to_jsiiObject



27294
27295
27296
27297
27298
27299
27300
27301
# File 'quick_sight/cfn_dashboard.rb', line 27294

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