Class: AWSCDK::QuickSight::CfnDashboard::GradientColorProperty

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

Overview

Determines the gradient color settings.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(stops: nil) ⇒ GradientColorProperty

Returns a new instance of GradientColorProperty.

Parameters:



15368
15369
15370
15371
# File 'quick_sight/cfn_dashboard.rb', line 15368

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

Instance Attribute Details

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

The list of gradient color stops.



15377
15378
15379
# File 'quick_sight/cfn_dashboard.rb', line 15377

def stops
  @stops
end

Class Method Details

.jsii_propertiesObject



15379
15380
15381
15382
15383
# File 'quick_sight/cfn_dashboard.rb', line 15379

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

Instance Method Details

#to_jsiiObject



15385
15386
15387
15388
15389
15390
15391
# File 'quick_sight/cfn_dashboard.rb', line 15385

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