Class: AWSCDK::WorkspacesInstances::CfnWorkspaceInstance::InstanceNetworkPerformanceOptionsRequestProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
workspaces_instances/cfn_workspace_instance.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bandwidth_weighting: nil) ⇒ InstanceNetworkPerformanceOptionsRequestProperty

Returns a new instance of InstanceNetworkPerformanceOptionsRequestProperty.

Parameters:

  • bandwidth_weighting (String, nil) (defaults to: nil)


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_weightingString? (readonly)



1094
1095
1096
# File 'workspaces_instances/cfn_workspace_instance.rb', line 1094

def bandwidth_weighting
  @bandwidth_weighting
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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