Class: Aws::GlobalAccelerator::Types::CustomRoutingDestinationConfiguration

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 CustomRoutingDestinationConfiguration data as a hash:

{
  from_port: 1, # required
  to_port: 1, # required
  protocols: ["TCP"], # required, accepts TCP, UDP
}

For a custom routing accelerator, sets the port range and protocol for all endpoints (virtual private cloud subnets) in an endpoint group to accept client traffic on.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#from_portInteger

The first port, inclusive, in the range of ports for the endpoint group that is associated with a custom routing accelerator.

Returns:

  • (Integer)


1214
1215
1216
1217
1218
1219
1220
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 1214

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

#protocolsArray<String>

The protocol for the endpoint group that is associated with a custom routing accelerator. The protocol can be either TCP or UDP.

Returns:

  • (Array<String>)


1214
1215
1216
1217
1218
1219
1220
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 1214

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

#to_portInteger

The last port, inclusive, in the range of ports for the endpoint group that is associated with a custom routing accelerator.

Returns:

  • (Integer)


1214
1215
1216
1217
1218
1219
1220
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 1214

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