Class: AWSCDK::WorkspacesInstances::CfnWorkspaceInstance::InstanceNetworkPerformanceOptionsRequestProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::WorkspacesInstances::CfnWorkspaceInstance::InstanceNetworkPerformanceOptionsRequestProperty
- Defined in:
- workspaces_instances/cfn_workspace_instance.rb
Overview
Instance Attribute Summary collapse
- #bandwidth_weighting ⇒ String? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bandwidth_weighting: nil) ⇒ InstanceNetworkPerformanceOptionsRequestProperty
constructor
A new instance of InstanceNetworkPerformanceOptionsRequestProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bandwidth_weighting: nil) ⇒ InstanceNetworkPerformanceOptionsRequestProperty
Returns a new instance of InstanceNetworkPerformanceOptionsRequestProperty.
1087 1088 1089 1090 |
# File 'workspaces_instances/cfn_workspace_instance.rb', line 1087 def initialize(bandwidth_weighting: nil) @bandwidth_weighting = bandwidth_weighting Jsii::Type.check_type(@bandwidth_weighting, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bandwidthWeighting") unless @bandwidth_weighting.nil? end |
Instance Attribute Details
#bandwidth_weighting ⇒ String? (readonly)
1094 1095 1096 |
# File 'workspaces_instances/cfn_workspace_instance.rb', line 1094 def bandwidth_weighting @bandwidth_weighting end |
Class Method Details
.jsii_properties ⇒ Object
1096 1097 1098 1099 1100 |
# File 'workspaces_instances/cfn_workspace_instance.rb', line 1096 def self.jsii_properties { :bandwidth_weighting => "bandwidthWeighting", } end |
Instance Method Details
#to_jsii ⇒ Object
1102 1103 1104 1105 1106 1107 1108 |
# File 'workspaces_instances/cfn_workspace_instance.rb', line 1102 def to_jsii result = {} result.merge!({ "bandwidthWeighting" => @bandwidth_weighting, }) result.compact end |