Class: Aws::ElasticLoadBalancingV2::Types::TargetGroup
- Inherits:
- 
      Struct
      
        - Object
- Struct
- Aws::ElasticLoadBalancingV2::Types::TargetGroup
 
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-elasticloadbalancingv2/types.rb
Overview
Information about a target group.
Constant Summary collapse
- SENSITIVE =
- [] 
Instance Attribute Summary collapse
- 
  
    
      #health_check_enabled  ⇒ Boolean 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Indicates whether health checks are enabled. 
- 
  
    
      #health_check_interval_seconds  ⇒ Integer 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The approximate amount of time, in seconds, between health checks of an individual target. 
- 
  
    
      #health_check_path  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The destination for health checks on the targets. 
- 
  
    
      #health_check_port  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The port to use to connect with the target. 
- 
  
    
      #health_check_protocol  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The protocol to use to connect with the target. 
- 
  
    
      #health_check_timeout_seconds  ⇒ Integer 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The amount of time, in seconds, during which no response means a failed health check. 
- 
  
    
      #healthy_threshold_count  ⇒ Integer 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The number of consecutive health checks successes required before considering an unhealthy target healthy. 
- 
  
    
      #ip_address_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The IP address type. 
- 
  
    
      #load_balancer_arns  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The Amazon Resource Name (ARN) of the load balancer that routes traffic to this target group. 
- 
  
    
      #matcher  ⇒ Types::Matcher 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The HTTP or gRPC codes to use when checking for a successful response from a target. 
- 
  
    
      #port  ⇒ Integer 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The port on which the targets are listening. 
- 
  
    
      #protocol  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The protocol to use for routing traffic to the targets. 
- 
  
    
      #protocol_version  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    [HTTP/HTTPS protocol] The protocol version. 
- 
  
    
      #target_group_arn  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The Amazon Resource Name (ARN) of the target group. 
- 
  
    
      #target_group_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The name of the target group. 
- 
  
    
      #target_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The type of target that you must specify when registering targets with this target group. 
- 
  
    
      #unhealthy_threshold_count  ⇒ Integer 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The number of consecutive health check failures required before considering the target unhealthy. 
- 
  
    
      #vpc_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The ID of the VPC for the targets. 
Instance Attribute Details
#health_check_enabled ⇒ Boolean
Indicates whether health checks are enabled.
| 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 | # File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 4142 class TargetGroup < Struct.new( :target_group_arn, :target_group_name, :protocol, :port, :vpc_id, :health_check_protocol, :health_check_port, :health_check_enabled, :health_check_interval_seconds, :health_check_timeout_seconds, :healthy_threshold_count, :unhealthy_threshold_count, :health_check_path, :matcher, :load_balancer_arns, :target_type, :protocol_version, :ip_address_type) SENSITIVE = [] include Aws::Structure end | 
#health_check_interval_seconds ⇒ Integer
The approximate amount of time, in seconds, between health checks of an individual target.
| 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 | # File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 4142 class TargetGroup < Struct.new( :target_group_arn, :target_group_name, :protocol, :port, :vpc_id, :health_check_protocol, :health_check_port, :health_check_enabled, :health_check_interval_seconds, :health_check_timeout_seconds, :healthy_threshold_count, :unhealthy_threshold_count, :health_check_path, :matcher, :load_balancer_arns, :target_type, :protocol_version, :ip_address_type) SENSITIVE = [] include Aws::Structure end | 
#health_check_path ⇒ String
The destination for health checks on the targets.
| 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 | # File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 4142 class TargetGroup < Struct.new( :target_group_arn, :target_group_name, :protocol, :port, :vpc_id, :health_check_protocol, :health_check_port, :health_check_enabled, :health_check_interval_seconds, :health_check_timeout_seconds, :healthy_threshold_count, :unhealthy_threshold_count, :health_check_path, :matcher, :load_balancer_arns, :target_type, :protocol_version, :ip_address_type) SENSITIVE = [] include Aws::Structure end | 
#health_check_port ⇒ String
The port to use to connect with the target.
| 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 | # File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 4142 class TargetGroup < Struct.new( :target_group_arn, :target_group_name, :protocol, :port, :vpc_id, :health_check_protocol, :health_check_port, :health_check_enabled, :health_check_interval_seconds, :health_check_timeout_seconds, :healthy_threshold_count, :unhealthy_threshold_count, :health_check_path, :matcher, :load_balancer_arns, :target_type, :protocol_version, :ip_address_type) SENSITIVE = [] include Aws::Structure end | 
#health_check_protocol ⇒ String
The protocol to use to connect with the target. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks.
| 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 | # File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 4142 class TargetGroup < Struct.new( :target_group_arn, :target_group_name, :protocol, :port, :vpc_id, :health_check_protocol, :health_check_port, :health_check_enabled, :health_check_interval_seconds, :health_check_timeout_seconds, :healthy_threshold_count, :unhealthy_threshold_count, :health_check_path, :matcher, :load_balancer_arns, :target_type, :protocol_version, :ip_address_type) SENSITIVE = [] include Aws::Structure end | 
#health_check_timeout_seconds ⇒ Integer
The amount of time, in seconds, during which no response means a failed health check.
| 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 | # File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 4142 class TargetGroup < Struct.new( :target_group_arn, :target_group_name, :protocol, :port, :vpc_id, :health_check_protocol, :health_check_port, :health_check_enabled, :health_check_interval_seconds, :health_check_timeout_seconds, :healthy_threshold_count, :unhealthy_threshold_count, :health_check_path, :matcher, :load_balancer_arns, :target_type, :protocol_version, :ip_address_type) SENSITIVE = [] include Aws::Structure end | 
#healthy_threshold_count ⇒ Integer
The number of consecutive health checks successes required before considering an unhealthy target healthy.
| 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 | # File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 4142 class TargetGroup < Struct.new( :target_group_arn, :target_group_name, :protocol, :port, :vpc_id, :health_check_protocol, :health_check_port, :health_check_enabled, :health_check_interval_seconds, :health_check_timeout_seconds, :healthy_threshold_count, :unhealthy_threshold_count, :health_check_path, :matcher, :load_balancer_arns, :target_type, :protocol_version, :ip_address_type) SENSITIVE = [] include Aws::Structure end | 
#ip_address_type ⇒ String
The IP address type. The default value is ‘ipv4`.
| 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 | # File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 4142 class TargetGroup < Struct.new( :target_group_arn, :target_group_name, :protocol, :port, :vpc_id, :health_check_protocol, :health_check_port, :health_check_enabled, :health_check_interval_seconds, :health_check_timeout_seconds, :healthy_threshold_count, :unhealthy_threshold_count, :health_check_path, :matcher, :load_balancer_arns, :target_type, :protocol_version, :ip_address_type) SENSITIVE = [] include Aws::Structure end | 
#load_balancer_arns ⇒ Array<String>
The Amazon Resource Name (ARN) of the load balancer that routes traffic to this target group. You can use each target group with only one load balancer.
| 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 | # File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 4142 class TargetGroup < Struct.new( :target_group_arn, :target_group_name, :protocol, :port, :vpc_id, :health_check_protocol, :health_check_port, :health_check_enabled, :health_check_interval_seconds, :health_check_timeout_seconds, :healthy_threshold_count, :unhealthy_threshold_count, :health_check_path, :matcher, :load_balancer_arns, :target_type, :protocol_version, :ip_address_type) SENSITIVE = [] include Aws::Structure end | 
#matcher ⇒ Types::Matcher
The HTTP or gRPC codes to use when checking for a successful response from a target.
| 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 | # File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 4142 class TargetGroup < Struct.new( :target_group_arn, :target_group_name, :protocol, :port, :vpc_id, :health_check_protocol, :health_check_port, :health_check_enabled, :health_check_interval_seconds, :health_check_timeout_seconds, :healthy_threshold_count, :unhealthy_threshold_count, :health_check_path, :matcher, :load_balancer_arns, :target_type, :protocol_version, :ip_address_type) SENSITIVE = [] include Aws::Structure end | 
#port ⇒ Integer
The port on which the targets are listening. This parameter is not used if the target is a Lambda function.
| 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 | # File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 4142 class TargetGroup < Struct.new( :target_group_arn, :target_group_name, :protocol, :port, :vpc_id, :health_check_protocol, :health_check_port, :health_check_enabled, :health_check_interval_seconds, :health_check_timeout_seconds, :healthy_threshold_count, :unhealthy_threshold_count, :health_check_path, :matcher, :load_balancer_arns, :target_type, :protocol_version, :ip_address_type) SENSITIVE = [] include Aws::Structure end | 
#protocol ⇒ String
The protocol to use for routing traffic to the targets.
| 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 | # File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 4142 class TargetGroup < Struct.new( :target_group_arn, :target_group_name, :protocol, :port, :vpc_id, :health_check_protocol, :health_check_port, :health_check_enabled, :health_check_interval_seconds, :health_check_timeout_seconds, :healthy_threshold_count, :unhealthy_threshold_count, :health_check_path, :matcher, :load_balancer_arns, :target_type, :protocol_version, :ip_address_type) SENSITIVE = [] include Aws::Structure end | 
#protocol_version ⇒ String
[HTTP/HTTPS protocol] The protocol version. The possible values are ‘GRPC`, `HTTP1`, and `HTTP2`.
| 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 | # File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 4142 class TargetGroup < Struct.new( :target_group_arn, :target_group_name, :protocol, :port, :vpc_id, :health_check_protocol, :health_check_port, :health_check_enabled, :health_check_interval_seconds, :health_check_timeout_seconds, :healthy_threshold_count, :unhealthy_threshold_count, :health_check_path, :matcher, :load_balancer_arns, :target_type, :protocol_version, :ip_address_type) SENSITIVE = [] include Aws::Structure end | 
#target_group_arn ⇒ String
The Amazon Resource Name (ARN) of the target group.
| 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 | # File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 4142 class TargetGroup < Struct.new( :target_group_arn, :target_group_name, :protocol, :port, :vpc_id, :health_check_protocol, :health_check_port, :health_check_enabled, :health_check_interval_seconds, :health_check_timeout_seconds, :healthy_threshold_count, :unhealthy_threshold_count, :health_check_path, :matcher, :load_balancer_arns, :target_type, :protocol_version, :ip_address_type) SENSITIVE = [] include Aws::Structure end | 
#target_group_name ⇒ String
The name of the target group.
| 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 | # File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 4142 class TargetGroup < Struct.new( :target_group_arn, :target_group_name, :protocol, :port, :vpc_id, :health_check_protocol, :health_check_port, :health_check_enabled, :health_check_interval_seconds, :health_check_timeout_seconds, :healthy_threshold_count, :unhealthy_threshold_count, :health_check_path, :matcher, :load_balancer_arns, :target_type, :protocol_version, :ip_address_type) SENSITIVE = [] include Aws::Structure end | 
#target_type ⇒ String
The type of target that you must specify when registering targets with this target group. The possible values are ‘instance` (register targets by instance ID), `ip` (register targets by IP address), `lambda` (register a single Lambda function as a target), or `alb` (register a single Application Load Balancer as a target).
| 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 | # File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 4142 class TargetGroup < Struct.new( :target_group_arn, :target_group_name, :protocol, :port, :vpc_id, :health_check_protocol, :health_check_port, :health_check_enabled, :health_check_interval_seconds, :health_check_timeout_seconds, :healthy_threshold_count, :unhealthy_threshold_count, :health_check_path, :matcher, :load_balancer_arns, :target_type, :protocol_version, :ip_address_type) SENSITIVE = [] include Aws::Structure end | 
#unhealthy_threshold_count ⇒ Integer
The number of consecutive health check failures required before considering the target unhealthy.
| 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 | # File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 4142 class TargetGroup < Struct.new( :target_group_arn, :target_group_name, :protocol, :port, :vpc_id, :health_check_protocol, :health_check_port, :health_check_enabled, :health_check_interval_seconds, :health_check_timeout_seconds, :healthy_threshold_count, :unhealthy_threshold_count, :health_check_path, :matcher, :load_balancer_arns, :target_type, :protocol_version, :ip_address_type) SENSITIVE = [] include Aws::Structure end | 
#vpc_id ⇒ String
The ID of the VPC for the targets.
| 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 | # File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 4142 class TargetGroup < Struct.new( :target_group_arn, :target_group_name, :protocol, :port, :vpc_id, :health_check_protocol, :health_check_port, :health_check_enabled, :health_check_interval_seconds, :health_check_timeout_seconds, :healthy_threshold_count, :unhealthy_threshold_count, :health_check_path, :matcher, :load_balancer_arns, :target_type, :protocol_version, :ip_address_type) SENSITIVE = [] include Aws::Structure end |