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_port ⇒ Integer

The accelerator port.

Returns:

  • (Integer)


2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 2996

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_address ⇒ Types::SocketAddress

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



2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 2996

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_state ⇒ String

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)


2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 2996

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_arn ⇒ String

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

Returns:

  • (String)


2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 2996

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

#endpoint_id ⇒ String

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

Returns:

  • (String)


2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 2996

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

#protocols ⇒ Array<String>

The protocols supported by the endpoint group.

Returns:

  • (Array<String>)


2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 2996

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