Class: AWSCDK::OpenSearchService::CfnDomain::AutomatedSnapshotPauseOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::OpenSearchService::CfnDomain::AutomatedSnapshotPauseOptionsProperty
- Defined in:
- open_search_service/cfn_domain.rb
Overview
Instance Attribute Summary collapse
- #enabled ⇒ Boolean, AWSCDK::IResolvable readonly
- #end_time ⇒ String? readonly
- #start_time ⇒ String? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(enabled:, end_time: nil, start_time: nil) ⇒ AutomatedSnapshotPauseOptionsProperty
constructor
A new instance of AutomatedSnapshotPauseOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(enabled:, end_time: nil, start_time: nil) ⇒ AutomatedSnapshotPauseOptionsProperty
Returns a new instance of AutomatedSnapshotPauseOptionsProperty.
1111 1112 1113 1114 1115 1116 1117 1118 |
# File 'open_search_service/cfn_domain.rb', line 1111 def initialize(enabled:, end_time: nil, start_time: nil) @enabled = enabled Jsii::Type.check_type(@enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "enabled") @end_time = end_time Jsii::Type.check_type(@end_time, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "endTime") unless @end_time.nil? @start_time = start_time Jsii::Type.check_type(@start_time, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "startTime") unless @start_time.nil? end |
Instance Attribute Details
#enabled ⇒ Boolean, AWSCDK::IResolvable (readonly)
1122 1123 1124 |
# File 'open_search_service/cfn_domain.rb', line 1122 def enabled @enabled end |
#end_time ⇒ String? (readonly)
1125 1126 1127 |
# File 'open_search_service/cfn_domain.rb', line 1125 def end_time @end_time end |
#start_time ⇒ String? (readonly)
1128 1129 1130 |
# File 'open_search_service/cfn_domain.rb', line 1128 def start_time @start_time end |
Class Method Details
.jsii_properties ⇒ Object
1130 1131 1132 1133 1134 1135 1136 |
# File 'open_search_service/cfn_domain.rb', line 1130 def self.jsii_properties { :enabled => "enabled", :end_time => "endTime", :start_time => "startTime", } end |
Instance Method Details
#to_jsii ⇒ Object
1138 1139 1140 1141 1142 1143 1144 1145 1146 |
# File 'open_search_service/cfn_domain.rb', line 1138 def to_jsii result = {} result.merge!({ "enabled" => @enabled, "endTime" => @end_time, "startTime" => @start_time, }) result.compact end |