Class: AWSCDK::AmazonMQ::CfnBroker::MaintenanceWindowProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AmazonMQ::CfnBroker::MaintenanceWindowProperty
- Defined in:
- amazon_mq/cfn_broker.rb
Overview
The parameters that determine the WeeklyStartTime.
Instance Attribute Summary collapse
-
#day_of_week ⇒ String
readonly
Required.
-
#time_of_day ⇒ String
readonly
Required.
-
#time_zone ⇒ String
readonly
The time zone, UTC by default, in either the Country/City format, or the UTC offset format.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(day_of_week:, time_of_day:, time_zone:) ⇒ MaintenanceWindowProperty
constructor
A new instance of MaintenanceWindowProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(day_of_week:, time_of_day:, time_zone:) ⇒ MaintenanceWindowProperty
Returns a new instance of MaintenanceWindowProperty.
1161 1162 1163 1164 1165 1166 1167 1168 |
# File 'amazon_mq/cfn_broker.rb', line 1161 def initialize(day_of_week:, time_of_day:, time_zone:) @day_of_week = day_of_week Jsii::Type.check_type(@day_of_week, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "dayOfWeek") @time_of_day = time_of_day Jsii::Type.check_type(@time_of_day, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "timeOfDay") @time_zone = time_zone Jsii::Type.check_type(@time_zone, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "timeZone") end |
Instance Attribute Details
#day_of_week ⇒ String (readonly)
Required.
The day of the week.
1176 1177 1178 |
# File 'amazon_mq/cfn_broker.rb', line 1176 def day_of_week @day_of_week end |
#time_of_day ⇒ String (readonly)
Required.
The time, in 24-hour format.
1183 1184 1185 |
# File 'amazon_mq/cfn_broker.rb', line 1183 def time_of_day @time_of_day end |
#time_zone ⇒ String (readonly)
The time zone, UTC by default, in either the Country/City format, or the UTC offset format.
1188 1189 1190 |
# File 'amazon_mq/cfn_broker.rb', line 1188 def time_zone @time_zone end |
Class Method Details
.jsii_properties ⇒ Object
1190 1191 1192 1193 1194 1195 1196 |
# File 'amazon_mq/cfn_broker.rb', line 1190 def self.jsii_properties { :day_of_week => "dayOfWeek", :time_of_day => "timeOfDay", :time_zone => "timeZone", } end |
Instance Method Details
#to_jsii ⇒ Object
1198 1199 1200 1201 1202 1203 1204 1205 1206 |
# File 'amazon_mq/cfn_broker.rb', line 1198 def to_jsii result = {} result.merge!({ "dayOfWeek" => @day_of_week, "timeOfDay" => @time_of_day, "timeZone" => @time_zone, }) result.compact end |