CreateEndpointGroupRequest

public struct CreateEndpointGroupRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The list of endpoint objects.

    Declaration

    Swift

    public let endpointConfigurations: [EndpointConfiguration]?
  • The name of the AWS Region where the endpoint group is located. A listener can have only one endpoint group in a specific Region.

    Declaration

    Swift

    public let endpointGroupRegion: String
  • The time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30.

    Declaration

    Swift

    public let healthCheckIntervalSeconds: Int?
  • If the protocol is HTTP/S, then this specifies the path that is the destination for health check targets. The default value is slash (/).

    Declaration

    Swift

    public let healthCheckPath: String?
  • The port that AWS Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default port is the listener port that this endpoint group is associated with. If listener port is a list of ports, Global Accelerator uses the first port in the list.

    Declaration

    Swift

    public let healthCheckPort: Int?
  • The protocol that AWS Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default value is TCP.

    Declaration

    Swift

    public let healthCheckProtocol: HealthCheckProtocol?
  • A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.

    Declaration

    Swift

    public let idempotencyToken: String
  • The Amazon Resource Name (ARN) of the listener.

    Declaration

    Swift

    public let listenerArn: String
  • The number of consecutive health checks required to set the state of a healthy endpoint to unhealthy, or to set an unhealthy endpoint to healthy. The default value is 3.

    Declaration

    Swift

    public let thresholdCount: Int?
  • The percentage of traffic to send to an AWS Region. Additional traffic is distributed to other endpoint groups for this listener. Use this action to increase (dial up) or decrease (dial down) traffic to a specific Region. The percentage is applied to the traffic that would otherwise have been routed to the Region based on optimal routing. The default value is 100.

    Declaration

    Swift

    public let trafficDialPercentage: Float?
  • Undocumented

    Declaration

    Swift

    public init(endpointConfigurations: [EndpointConfiguration]? = nil, endpointGroupRegion: String, healthCheckIntervalSeconds: Int? = nil, healthCheckPath: String? = nil, healthCheckPort: Int? = nil, healthCheckProtocol: HealthCheckProtocol? = nil, idempotencyToken: String = CreateEndpointGroupRequest.idempotencyToken(), listenerArn: String, thresholdCount: Int? = nil, trafficDialPercentage: Float? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws