Class: Aws::EMR::Types::PortRange

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb

Overview

Note:

When making an API call, you may pass PortRange data as a hash:

{
  min_range: 1, # required
  max_range: 1,
}

A list of port ranges that are permitted to allow inbound traffic from all public IP addresses. To specify a single port, use the same value for MinRange and MaxRange.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#max_rangeInteger

The smallest port number in a specified range of port numbers.

Returns:

  • (Integer)


5437
5438
5439
5440
5441
5442
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 5437

class PortRange < Struct.new(
  :min_range,
  :max_range)
  SENSITIVE = []
  include Aws::Structure
end

#min_rangeInteger

The smallest port number in a specified range of port numbers.

Returns:

  • (Integer)


5437
5438
5439
5440
5441
5442
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 5437

class PortRange < Struct.new(
  :min_range,
  :max_range)
  SENSITIVE = []
  include Aws::Structure
end