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 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)


2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 2970

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.



2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 2970

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)


2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 2970

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)


2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 2970

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)


2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 2970

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>)


2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 2970

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