TargetGroup
public struct TargetGroup : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
Indicates whether health checks are enabled.
Declaration
Swift
public let healthCheckEnabled: Bool?
-
The approximate amount of time, in seconds, between health checks of an individual target.
Declaration
Swift
public let healthCheckIntervalSeconds: Int?
-
The destination for the health check request.
Declaration
Swift
public let healthCheckPath: String?
-
The port to use to connect with the target.
Declaration
Swift
public let healthCheckPort: String?
-
The protocol to use to connect with the target.
Declaration
Swift
public let healthCheckProtocol: ProtocolEnum?
-
The amount of time, in seconds, during which no response means a failed health check.
Declaration
Swift
public let healthCheckTimeoutSeconds: Int?
-
The number of consecutive health checks successes required before considering an unhealthy target healthy.
Declaration
Swift
public let healthyThresholdCount: Int?
-
The Amazon Resource Names (ARN) of the load balancers that route traffic to this target group.
Declaration
Swift
public let loadBalancerArns: [String]?
-
The HTTP codes to use when checking for a successful response from a target.
Declaration
Swift
public let matcher: Matcher?
-
The port on which the targets are listening. Not used if the target is a Lambda function.
Declaration
Swift
public let port: Int?
-
The protocol to use for routing traffic to the targets.
Declaration
Swift
public let `protocol`: ProtocolEnum?
-
The Amazon Resource Name (ARN) of the target group.
Declaration
Swift
public let targetGroupArn: String?
-
The name of the target group.
Declaration
Swift
public let targetGroupName: String?
-
The type of target that you must specify when registering targets with this target group. The possible values are instance (targets are specified by instance ID) or ip (targets are specified by IP address).
Declaration
Swift
public let targetType: TargetTypeEnum?
-
The number of consecutive health check failures required before considering the target unhealthy.
Declaration
Swift
public let unhealthyThresholdCount: Int?
-
The ID of the VPC for the targets.
Declaration
Swift
public let vpcId: String?
-
init(healthCheckEnabled:healthCheckIntervalSeconds:healthCheckPath:healthCheckPort:healthCheckProtocol:healthCheckTimeoutSeconds:healthyThresholdCount:loadBalancerArns:matcher:port:protocol:targetGroupArn:targetGroupName:targetType:unhealthyThresholdCount:vpcId:)
Undocumented
Declaration
Swift
public init(healthCheckEnabled: Bool? = nil, healthCheckIntervalSeconds: Int? = nil, healthCheckPath: String? = nil, healthCheckPort: String? = nil, healthCheckProtocol: ProtocolEnum? = nil, healthCheckTimeoutSeconds: Int? = nil, healthyThresholdCount: Int? = nil, loadBalancerArns: [String]? = nil, matcher: Matcher? = nil, port: Int? = nil, protocol: ProtocolEnum? = nil, targetGroupArn: String? = nil, targetGroupName: String? = nil, targetType: TargetTypeEnum? = nil, unhealthyThresholdCount: Int? = nil, vpcId: String? = nil)