Class: Aws::GlobalAccelerator::Types::PortMapping

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

Overview

Returns the ports and associated IP addresses and ports of Amazon EC2 instances in your virtual private cloud (VPC) subnets. Custom routing is a port mapping protocol in AWS Global Accelerator that statically associates port ranges with VPC subnets, which allows Global Accelerator to route to specific instances and ports within one or more subnets.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#accelerator_portInteger

The accelerator port.

Returns:

  • (Integer)


2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 2835

class PortMapping < Struct.new(
  :accelerator_port,
  :endpoint_group_arn,
  :endpoint_id,
  :destination_socket_address,
  :protocols,
  :destination_traffic_state)
  SENSITIVE = []
  include Aws::Structure
end

#destination_socket_addressTypes::SocketAddress

The EC2 instance IP address and port number in the virtual private cloud (VPC) subnet.



2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 2835

class PortMapping < Struct.new(
  :accelerator_port,
  :endpoint_group_arn,
  :endpoint_id,
  :destination_socket_address,
  :protocols,
  :destination_traffic_state)
  SENSITIVE = []
  include Aws::Structure
end

#destination_traffic_stateString

Indicates whether or not a port mapping destination can receive traffic. The value is either ALLOW, if traffic is allowed to the destination, or DENY, if traffic is not allowed to the destination.

Returns:

  • (String)


2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 2835

class PortMapping < Struct.new(
  :accelerator_port,
  :endpoint_group_arn,
  :endpoint_id,
  :destination_socket_address,
  :protocols,
  :destination_traffic_state)
  SENSITIVE = []
  include Aws::Structure
end

#endpoint_group_arnString

The Amazon Resource Name (ARN) of the endpoint group.

Returns:

  • (String)


2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 2835

class PortMapping < Struct.new(
  :accelerator_port,
  :endpoint_group_arn,
  :endpoint_id,
  :destination_socket_address,
  :protocols,
  :destination_traffic_state)
  SENSITIVE = []
  include Aws::Structure
end

#endpoint_idString

The IP address of the VPC subnet (the subnet ID).

Returns:

  • (String)


2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 2835

class PortMapping < Struct.new(
  :accelerator_port,
  :endpoint_group_arn,
  :endpoint_id,
  :destination_socket_address,
  :protocols,
  :destination_traffic_state)
  SENSITIVE = []
  include Aws::Structure
end

#protocolsArray<String>

The protocols supported by the endpoint group.

Returns:

  • (Array<String>)


2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 2835

class PortMapping < Struct.new(
  :accelerator_port,
  :endpoint_group_arn,
  :endpoint_id,
  :destination_socket_address,
  :protocols,
  :destination_traffic_state)
  SENSITIVE = []
  include Aws::Structure
end