@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.511Z") @Stability(value=Stable) public interface CfnEndpointGroupProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.globalaccelerator.*;
CfnEndpointGroupProps cfnEndpointGroupProps = CfnEndpointGroupProps.builder()
.endpointGroupRegion("endpointGroupRegion")
.listenerArn("listenerArn")
// the properties below are optional
.endpointConfigurations(List.of(EndpointConfigurationProperty.builder()
.endpointId("endpointId")
// the properties below are optional
.clientIpPreservationEnabled(false)
.weight(123)
.build()))
.healthCheckIntervalSeconds(123)
.healthCheckPath("healthCheckPath")
.healthCheckPort(123)
.healthCheckProtocol("healthCheckProtocol")
.portOverrides(List.of(PortOverrideProperty.builder()
.endpointPort(123)
.listenerPort(123)
.build()))
.thresholdCount(123)
.trafficDialPercentage(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnEndpointGroupProps.Builder
A builder for
CfnEndpointGroupProps |
static class |
CfnEndpointGroupProps.Jsii$Proxy
An implementation for
CfnEndpointGroupProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnEndpointGroupProps.Builder |
builder() |
default Object |
getEndpointConfigurations()
The list of endpoint objects.
|
String |
getEndpointGroupRegion()
The AWS Regions where the endpoint group is located.
|
default Number |
getHealthCheckIntervalSeconds()
The time—10 seconds or 30 seconds—between health checks for each endpoint.
|
default String |
getHealthCheckPath()
If the protocol is HTTP/S, then this value provides the ping path that Global Accelerator uses for the destination on the endpoints for health checks.
|
default Number |
getHealthCheckPort()
The port that Global Accelerator uses to perform health checks on endpoints that are part of this endpoint group.
|
default String |
getHealthCheckProtocol()
The protocol that Global Accelerator uses to perform health checks on endpoints that are part of this endpoint group.
|
String |
getListenerArn()
The Amazon Resource Name (ARN) of the listener.
|
default Object |
getPortOverrides()
Allows you to override the destination ports used to route traffic to an endpoint.
|
default Number |
getThresholdCount()
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.
|
default Number |
getTrafficDialPercentage()
The percentage of traffic to send to an AWS Regions .
|
@Stability(value=Stable) @NotNull String getEndpointGroupRegion()
@Stability(value=Stable) @NotNull String getListenerArn()
@Stability(value=Stable) @Nullable default Object getEndpointConfigurations()
@Stability(value=Stable) @Nullable default Number getHealthCheckIntervalSeconds()
The default value is 30.
@Stability(value=Stable) @Nullable default String getHealthCheckPath()
The default is slash (/).
@Stability(value=Stable) @Nullable default Number getHealthCheckPort()
The default port is the port for the listener that this endpoint group is associated with. If the listener port is a list, Global Accelerator uses the first specified port in the list of ports.
@Stability(value=Stable) @Nullable default String getHealthCheckProtocol()
The default value is TCP.
@Stability(value=Stable) @Nullable default Object getPortOverrides()
Using a port override lets you to map a list of external destination ports (that your users send traffic to) to a list of internal destination ports that you want an application endpoint to receive traffic on.
@Stability(value=Stable) @Nullable default Number getThresholdCount()
The default value is 3.
@Stability(value=Stable) @Nullable default Number getTrafficDialPercentage()
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.
@Stability(value=Stable) static CfnEndpointGroupProps.Builder builder()
CfnEndpointGroupProps.Builder of CfnEndpointGroupPropsCopyright © 2022. All rights reserved.