EndpointGroupProps
Properties for defining a EndpointGroup
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ga-endpointgroup
Initializer
import com.aliyun.ros.cdk.ga.EndpointGroupProps;
EndpointGroupProps.builder()
.acceleratorId(java.lang.String)
.acceleratorId(IResolvable)
.endpointConfigurations(IResolvable)
.endpointConfigurations(java.util.List<IResolvable)
.endpointConfigurations(EndpointConfigurationsProperty>)
.endpointGroupRegion(java.lang.String)
.endpointGroupRegion(IResolvable)
.listenerId(java.lang.String)
.listenerId(IResolvable)
// .description(java.lang.String)
// .description(IResolvable)
// .endpointGroupType(java.lang.String)
// .endpointGroupType(IResolvable)
// .endpointRequestProtocol(java.lang.String)
// .endpointRequestProtocol(IResolvable)
// .healthCheckEnabled(java.lang.Boolean)
// .healthCheckEnabled(IResolvable)
// .healthCheckIntervalSeconds(java.lang.Number)
// .healthCheckIntervalSeconds(IResolvable)
// .healthCheckPath(java.lang.String)
// .healthCheckPath(IResolvable)
// .healthCheckPort(java.lang.Number)
// .healthCheckPort(IResolvable)
// .healthCheckProtocol(java.lang.String)
// .healthCheckProtocol(IResolvable)
// .name(java.lang.String)
// .name(IResolvable)
// .thresholdCount(java.lang.Number)
// .thresholdCount(IResolvable)
// .trafficPercentage(java.lang.Number)
// .trafficPercentage(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
acceleratorId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property acceleratorId: The ID of the Global Accelerator instance with which the endpoint group will be associated. |
endpointConfigurations |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property endpointConfigurations:. |
endpointGroupRegion |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property endpointGroupRegion: The region ID of the endpoint group. |
listenerId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property listenerId: The ID of the listener to be associated with the endpoint group. |
description |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property description: The description of the endpoint group. |
endpointGroupType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property endpointGroupType: The type of the endpoint group. |
endpointRequestProtocol |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property endpointRequestProtocol: The protocol used by the backend service. |
healthCheckEnabled |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property healthCheckEnabled: Specifies whether to enable the health check feature. |
healthCheckIntervalSeconds |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property healthCheckIntervalSeconds: The interval between two consecutive health checks. |
healthCheckPath |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property healthCheckPath: The path set as the destination on the targets for health checks. |
healthCheckPort |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property healthCheckPort: The port that is used to connect with the targets for health checks. |
healthCheckProtocol |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property healthCheckProtocol: The protocol that is used to connect with the targets for health checks. |
name |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property name: The name of the endpoint group. |
thresholdCount |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property thresholdCount: The number of consecutive health check failures that must occur before a healthy endpoint is considered unhealthy, or the number of consecutive health check successes that must occur before an unhealthy endpoint is considered healthy. |
trafficPercentage |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property trafficPercentage: The weight of the endpoint group when the corresponding listener is associated with multiple endpoint groups. |
acceleratorId
Required
public java.lang.Object getAcceleratorId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property acceleratorId: The ID of the Global Accelerator instance with which the endpoint group will be associated.
endpointConfigurations
Required
public java.lang.Object getEndpointConfigurations();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
EndpointConfigurationsProperty>
Property endpointConfigurations:.
endpointGroupRegion
Required
public java.lang.Object getEndpointGroupRegion();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property endpointGroupRegion: The region ID of the endpoint group.
listenerId
Required
public java.lang.Object getListenerId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property listenerId: The ID of the listener to be associated with the endpoint group.
description
Optional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: The description of the endpoint group.
endpointGroupType
Optional
public java.lang.Object getEndpointGroupType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property endpointGroupType: The type of the endpoint group.
Valid values: default: The endpoint group is a default endpoint group. This is the default value. virtual: The endpoint group is a virtual endpoint group. Note Only HTTP and HTTPS listeners support virtual endpoint groups.
endpointRequestProtocol
Optional
public java.lang.Object getEndpointRequestProtocol();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property endpointRequestProtocol: The protocol used by the backend service.
Valid values: http: This is the default value. https Note: You can set this parameter only when the listener that is associated with the endpoint group uses HTTP or HTTPS. For an HTTP listener, the backend service protocol must be HTTP.
healthCheckEnabled
Optional
public java.lang.Object getHealthCheckEnabled();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property healthCheckEnabled: Specifies whether to enable the health check feature.
healthCheckIntervalSeconds
Optional
public java.lang.Object getHealthCheckIntervalSeconds();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property healthCheckIntervalSeconds: The interval between two consecutive health checks.
Unit: seconds.
healthCheckPath
Optional
public java.lang.Object getHealthCheckPath();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property healthCheckPath: The path set as the destination on the targets for health checks.
healthCheckPort
Optional
public java.lang.Object getHealthCheckPort();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property healthCheckPort: The port that is used to connect with the targets for health checks.
healthCheckProtocol
Optional
public java.lang.Object getHealthCheckProtocol();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property healthCheckProtocol: The protocol that is used to connect with the targets for health checks.
tcp: TCP protocol http: HTTP protocol https: HTTPS protocol
name
Optional
public java.lang.Object getName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property name: The name of the endpoint group.
thresholdCount
Optional
public java.lang.Object getThresholdCount();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property thresholdCount: The number of consecutive health check failures that must occur before a healthy endpoint is considered unhealthy, or the number of consecutive health check successes that must occur before an unhealthy endpoint is considered healthy.
Valid values: 2 to 10. Default value: 3.
trafficPercentage
Optional
public java.lang.Object getTrafficPercentage();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property trafficPercentage: The weight of the endpoint group when the corresponding listener is associated with multiple endpoint groups.