Class: AWSCDK::QuickSight::CfnTemplate::AssetOptionsProperty

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

Overview

An array of analysis level configurations.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of AssetOptionsProperty.

Parameters:

  • 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.



1075
1076
1077
1078
1079
1080
# File 'quick_sight/cfn_template.rb', line 1075

def initialize(timezone: nil, week_start: 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

#timezoneString? (readonly)

Determines the timezone for the analysis.



1086
1087
1088
# File 'quick_sight/cfn_template.rb', line 1086

def timezone
  @timezone
end

#week_startString? (readonly)

Determines the week start day for an analysis.



1091
1092
1093
# File 'quick_sight/cfn_template.rb', line 1091

def week_start
  @week_start
end

Class Method Details

.jsii_propertiesObject



1093
1094
1095
1096
1097
1098
# File 'quick_sight/cfn_template.rb', line 1093

def self.jsii_properties
  {
    :timezone => "timezone",
    :week_start => "weekStart",
  }
end

Instance Method Details

#to_jsiiObject



1100
1101
1102
1103
1104
1105
1106
1107
# File 'quick_sight/cfn_template.rb', line 1100

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