public static final class EndpointGroupOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements EndpointGroupOptions
EndpointGroupOptions
EndpointGroupOptions.Builder, EndpointGroupOptions.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getEndpointGroupName()
Name of the endpoint group.
|
java.util.List<IEndpoint> |
getEndpoints()
Initial list of endpoints for this group.
|
Duration |
getHealthCheckInterval()
The time between health checks for each endpoint.
|
java.lang.String |
getHealthCheckPath()
The ping path for health checks (if the protocol is HTTP(S)).
|
java.lang.Number |
getHealthCheckPort()
The port used to perform health checks.
|
HealthCheckProtocol |
getHealthCheckProtocol()
The protocol used to perform health checks.
|
java.lang.Number |
getHealthCheckThreshold()
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.
|
java.util.List<PortOverride> |
getPortOverrides()
Override the destination ports used to route traffic to an endpoint.
|
java.lang.String |
getRegion()
The AWS Region where the endpoint group is located.
|
java.lang.Number |
getTrafficDialPercentage()
The percentage of traffic to send to this AWS Region.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getEndpointGroupName()
EndpointGroupOptions
Default: - logical ID of the resource
getEndpointGroupName
in interface EndpointGroupOptions
public final java.util.List<IEndpoint> getEndpoints()
EndpointGroupOptions
Default: - Group is initially empty
getEndpoints
in interface EndpointGroupOptions
public final Duration getHealthCheckInterval()
EndpointGroupOptions
Must be either 10 or 30 seconds.
Default: Duration.seconds(30)
getHealthCheckInterval
in interface EndpointGroupOptions
public final java.lang.String getHealthCheckPath()
EndpointGroupOptions
Default: '/'
getHealthCheckPath
in interface EndpointGroupOptions
public final java.lang.Number getHealthCheckPort()
EndpointGroupOptions
Default: - The listener's port
getHealthCheckPort
in interface EndpointGroupOptions
public final HealthCheckProtocol getHealthCheckProtocol()
EndpointGroupOptions
Default: HealthCheckProtocol.TCP
getHealthCheckProtocol
in interface EndpointGroupOptions
public final java.lang.Number getHealthCheckThreshold()
EndpointGroupOptions
Default: 3
getHealthCheckThreshold
in interface EndpointGroupOptions
public final java.util.List<PortOverride> getPortOverrides()
EndpointGroupOptions
Unless overridden, the port used to hit the endpoint will be the same as the port that traffic arrives on at the listener.
Default: - No overrides
getPortOverrides
in interface EndpointGroupOptions
public final java.lang.String getRegion()
EndpointGroupOptions
Default: - region of the first endpoint in this group, or the stack region if that region can't be determined
getRegion
in interface EndpointGroupOptions
public final java.lang.Number getTrafficDialPercentage()
EndpointGroupOptions
The percentage is applied to the traffic that would otherwise have been routed to the Region based on optimal routing. Additional traffic is distributed to other endpoint groups for this listener.
Default: 100
getTrafficDialPercentage
in interface EndpointGroupOptions
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()