Class: AWSCDK::WorkspacesInstances::CfnWorkspaceInstance::InstanceMaintenanceOptionsRequestProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::WorkspacesInstances::CfnWorkspaceInstance::InstanceMaintenanceOptionsRequestProperty
- Defined in:
- workspaces_instances/cfn_workspace_instance.rb
Overview
Instance Attribute Summary collapse
- #auto_recovery ⇒ String? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(auto_recovery: nil) ⇒ InstanceMaintenanceOptionsRequestProperty
constructor
A new instance of InstanceMaintenanceOptionsRequestProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(auto_recovery: nil) ⇒ InstanceMaintenanceOptionsRequestProperty
Returns a new instance of InstanceMaintenanceOptionsRequestProperty.
944 945 946 947 |
# File 'workspaces_instances/cfn_workspace_instance.rb', line 944 def initialize(auto_recovery: nil) @auto_recovery = auto_recovery Jsii::Type.check_type(@auto_recovery, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "autoRecovery") unless @auto_recovery.nil? end |
Instance Attribute Details
#auto_recovery ⇒ String? (readonly)
951 952 953 |
# File 'workspaces_instances/cfn_workspace_instance.rb', line 951 def auto_recovery @auto_recovery end |
Class Method Details
.jsii_properties ⇒ Object
953 954 955 956 957 |
# File 'workspaces_instances/cfn_workspace_instance.rb', line 953 def self.jsii_properties { :auto_recovery => "autoRecovery", } end |
Instance Method Details
#to_jsii ⇒ Object
959 960 961 962 963 964 965 |
# File 'workspaces_instances/cfn_workspace_instance.rb', line 959 def to_jsii result = {} result.merge!({ "autoRecovery" => @auto_recovery, }) result.compact end |