@Stability(value=Stable) @Internal public static final class EndpointGroupProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements EndpointGroupProps
EndpointGroupPropssoftware.amazon.jsii.JsiiObject.InitializationModeEndpointGroupProps.Builder, EndpointGroupProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(EndpointGroupProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
EndpointGroupProps.Builder. |
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(Object o) |
String |
getEndpointGroupName()
Name of the endpoint group.
|
List<IEndpoint> |
getEndpoints()
Initial list of endpoints for this group.
|
Duration |
getHealthCheckInterval()
The time between health checks for each endpoint.
|
String |
getHealthCheckPath()
The ping path for health checks (if the protocol is HTTP(S)).
|
Number |
getHealthCheckPort()
The port used to perform health checks.
|
HealthCheckProtocol |
getHealthCheckProtocol()
The protocol used to perform health checks.
|
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.
|
IListener |
getListener()
The Amazon Resource Name (ARN) of the listener.
|
List<PortOverride> |
getPortOverrides()
Override the destination ports used to route traffic to an endpoint.
|
String |
getRegion()
The AWS Region where the endpoint group is located.
|
Number |
getTrafficDialPercentage()
The percentage of traffic to send to this AWS Region.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(EndpointGroupProps.Builder builder)
EndpointGroupProps.Builder.public final IListener getListener()
EndpointGroupPropsgetListener in interface EndpointGroupPropspublic final String getEndpointGroupName()
EndpointGroupOptionsDefault: - logical ID of the resource
getEndpointGroupName in interface EndpointGroupOptionspublic final List<IEndpoint> getEndpoints()
EndpointGroupOptionsDefault: - Group is initially empty
getEndpoints in interface EndpointGroupOptionspublic final Duration getHealthCheckInterval()
EndpointGroupOptionsMust be either 10 or 30 seconds.
Default: Duration.seconds(30)
getHealthCheckInterval in interface EndpointGroupOptionspublic final String getHealthCheckPath()
EndpointGroupOptionsDefault: '/'
getHealthCheckPath in interface EndpointGroupOptionspublic final Number getHealthCheckPort()
EndpointGroupOptionsDefault: - The listener's port
getHealthCheckPort in interface EndpointGroupOptionspublic final HealthCheckProtocol getHealthCheckProtocol()
EndpointGroupOptionsDefault: HealthCheckProtocol.TCP
getHealthCheckProtocol in interface EndpointGroupOptionspublic final Number getHealthCheckThreshold()
EndpointGroupOptionsDefault: 3
getHealthCheckThreshold in interface EndpointGroupOptionspublic final List<PortOverride> getPortOverrides()
EndpointGroupOptionsUnless 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 EndpointGroupOptionspublic final String getRegion()
EndpointGroupOptionsDefault: - region of the first endpoint in this group, or the stack region if that region can't be determined
getRegion in interface EndpointGroupOptionspublic final Number getTrafficDialPercentage()
EndpointGroupOptionsThe 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@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.