AWSElasticLoadBalancingModifyTargetGroupInput

Objective-C

@interface AWSElasticLoadBalancingModifyTargetGroupInput

Swift

class AWSElasticLoadBalancingModifyTargetGroupInput
  • Indicates whether health checks are enabled.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable healthCheckEnabled;

    Swift

    var healthCheckEnabled: NSNumber? { get set }
  • The approximate amount of time, in seconds, between health checks of an individual target. For TCP health checks, the supported values are 10 or 30 seconds.

    With Network Load Balancers, you can’t modify this setting.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable healthCheckIntervalSeconds;

    Swift

    var healthCheckIntervalSeconds: NSNumber? { get set }
  • [HTTP/HTTPS health checks] The destination for health checks on the targets.

    [HTTP1 or HTTP2 protocol version] The ping path. The default is /.

    [GRPC protocol version] The path of a custom health check method with the format /package.service/method. The default is /Amazon Web Services.ALB/healthcheck.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable healthCheckPath;

    Swift

    var healthCheckPath: String? { get set }
  • The port the load balancer uses when performing health checks on targets.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable healthCheckPort;

    Swift

    var healthCheckPort: String? { get set }
  • The protocol the load balancer uses when performing health checks on targets. For Application Load Balancers, the default is HTTP. For Network Load Balancers and Gateway Load Balancers, the default is TCP. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS. It is supported for health checks only if the protocol of the target group is TCP, TLS, UDP, or TCP_UDP. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks.

    With Network Load Balancers, you can’t modify this setting.

    Declaration

    Objective-C

    @property (nonatomic) AWSElasticLoadBalancingProtocolEnum healthCheckProtocol;

    Swift

    var healthCheckProtocol: AWSElasticLoadBalancingProtocolEnum { get set }
  • [HTTP/HTTPS health checks] The amount of time, in seconds, during which no response means a failed health check.

    With Network Load Balancers, you can’t modify this setting.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable healthCheckTimeoutSeconds;

    Swift

    var healthCheckTimeoutSeconds: NSNumber? { get set }
  • The number of consecutive health checks successes required before considering an unhealthy target healthy.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable healthyThresholdCount;

    Swift

    var healthyThresholdCount: NSNumber? { get set }
  • [HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a target.

    With Network Load Balancers, you can’t modify this setting.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSElasticLoadBalancingMatcher *_Nullable matcher;

    Swift

    var matcher: AWSElasticLoadBalancingMatcher? { get set }
  • The Amazon Resource Name (ARN) of the target group.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable targetGroupArn;

    Swift

    var targetGroupArn: String? { get set }
  • The number of consecutive health check failures required before considering the target unhealthy. For target groups with a protocol of TCP or TLS, this value must be the same as the healthy threshold count.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable unhealthyThresholdCount;

    Swift

    var unhealthyThresholdCount: NSNumber? { get set }