Class: AWSCDK::QuickSight::CfnDashboard::AssetOptionsProperty

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

Overview

An array of analysis level configurations.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(excluded_data_set_arns: nil, q_business_insights_status: nil, timezone: nil, week_start: nil) ⇒ AssetOptionsProperty

Returns a new instance of AssetOptionsProperty.

Parameters:

  • excluded_data_set_arns (Array<String>, nil) (defaults to: nil)

    A list of dataset ARNS to exclude from Dashboard Q&A.

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

    Determines whether insight summaries from Amazon Q Business are allowed in Dashboard Q&A.

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

    Determines the timezone for the analysis.

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

    Determines the week start day for an analysis.



1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
# File 'quick_sight/cfn_dashboard.rb', line 1201

def initialize(excluded_data_set_arns: nil, q_business_insights_status: nil, timezone: nil, week_start: nil)
  @excluded_data_set_arns = excluded_data_set_arns
  Jsii::Type.check_type(@excluded_data_set_arns, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "excludedDataSetArns") unless @excluded_data_set_arns.nil?
  @q_business_insights_status = q_business_insights_status
  Jsii::Type.check_type(@q_business_insights_status, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "qBusinessInsightsStatus") unless @q_business_insights_status.nil?
  @timezone = timezone
  Jsii::Type.check_type(@timezone, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "timezone") unless @timezone.nil?
  @week_start = week_start
  Jsii::Type.check_type(@week_start, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "weekStart") unless @week_start.nil?
end

Instance Attribute Details

#excluded_data_set_arnsArray<String>? (readonly)

A list of dataset ARNS to exclude from Dashboard Q&A.



1216
1217
1218
# File 'quick_sight/cfn_dashboard.rb', line 1216

def excluded_data_set_arns
  @excluded_data_set_arns
end

#q_business_insights_statusString? (readonly)

Determines whether insight summaries from Amazon Q Business are allowed in Dashboard Q&A.



1221
1222
1223
# File 'quick_sight/cfn_dashboard.rb', line 1221

def q_business_insights_status
  @q_business_insights_status
end

#timezoneString? (readonly)

Determines the timezone for the analysis.



1226
1227
1228
# File 'quick_sight/cfn_dashboard.rb', line 1226

def timezone
  @timezone
end

#week_startString? (readonly)

Determines the week start day for an analysis.



1231
1232
1233
# File 'quick_sight/cfn_dashboard.rb', line 1231

def week_start
  @week_start
end

Class Method Details

.jsii_propertiesObject



1233
1234
1235
1236
1237
1238
1239
1240
# File 'quick_sight/cfn_dashboard.rb', line 1233

def self.jsii_properties
  {
    :excluded_data_set_arns => "excludedDataSetArns",
    :q_business_insights_status => "qBusinessInsightsStatus",
    :timezone => "timezone",
    :week_start => "weekStart",
  }
end

Instance Method Details

#to_jsiiObject



1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
# File 'quick_sight/cfn_dashboard.rb', line 1242

def to_jsii
  result = {}
  result.merge!({
    "excludedDataSetArns" => @excluded_data_set_arns,
    "qBusinessInsightsStatus" => @q_business_insights_status,
    "timezone" => @timezone,
    "weekStart" => @week_start,
  })
  result.compact
end