Class: Aws::GlobalAccelerator::Types::PortOverride

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

Overview

Note:

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

{
  listener_port: 1,
  endpoint_port: 1,
}

Override specific listener ports used to route traffic to endpoints that are part of an endpoint group. For example, you can create a port override in which the listener receives user traffic on ports 80 and 443, but your accelerator routes that traffic to ports 1080 and 1443, respectively, on the endpoints.

For more information, see Port overrides in the AWS Global Accelerator Developer Guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#endpoint_portInteger

The endpoint port that you want a listener port to be mapped to. This is the port on the endpoint, such as the Application Load Balancer or Amazon EC2 instance.

Returns:

  • (Integer)


2881
2882
2883
2884
2885
2886
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 2881

class PortOverride < Struct.new(
  :listener_port,
  :endpoint_port)
  SENSITIVE = []
  include Aws::Structure
end

#listener_portInteger

The listener port that you want to map to a specific endpoint port. This is the port that user traffic arrives to the Global Accelerator on.

Returns:

  • (Integer)


2881
2882
2883
2884
2885
2886
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 2881

class PortOverride < Struct.new(
  :listener_port,
  :endpoint_port)
  SENSITIVE = []
  include Aws::Structure
end