You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing TrafficMirrorPortRangeRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  from_port: 1,
  to_port: 1,
}

Information about the Traffic Mirror filter rule port range.

Returned by:

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)

    The first port in the Traffic Mirror port range.

#to_portInteger

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

Returns:

  • (Integer)

    The last port in the Traffic Mirror port range.