Class: Aws::EC2::Types::TrafficMirrorPortRangeRequest

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

Overview

Note:

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

{
  from_port: 1,
  to_port: 1,
}

Information about the Traffic Mirror filter rule port range.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#from_portInteger

The first port in the Traffic Mirror port range. This applies to the TCP and UDP protocols.

Returns:

  • (Integer)


47635
47636
47637
47638
47639
47640
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47635

class TrafficMirrorPortRangeRequest < Struct.new(
  :from_port,
  :to_port)
  SENSITIVE = []
  include Aws::Structure
end

#to_portInteger

The last port in the Traffic Mirror port range. This applies to the TCP and UDP protocols.

Returns:

  • (Integer)


47635
47636
47637
47638
47639
47640
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47635

class TrafficMirrorPortRangeRequest < Struct.new(
  :from_port,
  :to_port)
  SENSITIVE = []
  include Aws::Structure
end