Class: AWSCDK::QuickSight::CfnRefreshSchedule::RefreshOnDayProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnRefreshSchedule::RefreshOnDayProperty
- Defined in:
- quick_sight/cfn_refresh_schedule.rb
Overview
The day that you want yout dataset to refresh.
Instance Attribute Summary collapse
-
#day_of_month ⇒ String?
readonly
The day of the month that you want your dataset to refresh.
-
#day_of_week ⇒ String?
readonly
The day of the week that you want to schedule the refresh on.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(day_of_month: nil, day_of_week: nil) ⇒ RefreshOnDayProperty
constructor
A new instance of RefreshOnDayProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(day_of_month: nil, day_of_week: nil) ⇒ RefreshOnDayProperty
Returns a new instance of RefreshOnDayProperty.
535 536 537 538 539 540 |
# File 'quick_sight/cfn_refresh_schedule.rb', line 535 def initialize(day_of_month: nil, day_of_week: nil) @day_of_month = day_of_month Jsii::Type.check_type(@day_of_month, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "dayOfMonth") unless @day_of_month.nil? @day_of_week = day_of_week Jsii::Type.check_type(@day_of_week, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "dayOfWeek") unless @day_of_week.nil? end |
Instance Attribute Details
#day_of_month ⇒ String? (readonly)
The day of the month that you want your dataset to refresh.
This value is required for monthly refresh intervals.
548 549 550 |
# File 'quick_sight/cfn_refresh_schedule.rb', line 548 def day_of_month @day_of_month end |
#day_of_week ⇒ String? (readonly)
The day of the week that you want to schedule the refresh on.
This value is required for weekly and monthly refresh intervals.
555 556 557 |
# File 'quick_sight/cfn_refresh_schedule.rb', line 555 def day_of_week @day_of_week end |
Class Method Details
.jsii_properties ⇒ Object
557 558 559 560 561 562 |
# File 'quick_sight/cfn_refresh_schedule.rb', line 557 def self.jsii_properties { :day_of_month => "dayOfMonth", :day_of_week => "dayOfWeek", } end |
Instance Method Details
#to_jsii ⇒ Object
564 565 566 567 568 569 570 571 |
# File 'quick_sight/cfn_refresh_schedule.rb', line 564 def to_jsii result = {} result.merge!({ "dayOfMonth" => @day_of_month, "dayOfWeek" => @day_of_week, }) result.compact end |