ServerGroupProps
Properties for defining a ServerGroup.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-nlb-servergroup
Initializer
import ros_cdk_nlb
ros_cdk_nlb.ServerGroupProps(
server_group_name: typing.Union[str, IResolvable],
vpc_id: typing.Union[str, IResolvable],
address_ip_version: typing.Union[str, IResolvable] = None,
any_port_enabled: typing.Union[bool, IResolvable] = None,
connection_drain_enabled: typing.Union[bool, IResolvable] = None,
connection_drain_timeout: typing.Union[typing.Union[int, float], IResolvable] = None,
health_check_config: typing.Union[IResolvable, HealthCheckConfigProperty] = None,
persistence_enabled: typing.Union[bool, IResolvable] = None,
persistence_timeout: typing.Union[typing.Union[int, float], IResolvable] = None,
preserve_client_ip_enabled: typing.Union[bool, IResolvable] = None,
protocol: typing.Union[str, IResolvable] = None,
resource_group_id: typing.Union[str, IResolvable] = None,
scheduler: typing.Union[str, IResolvable] = None,
server_group_type: typing.Union[str, IResolvable] = None,
servers: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, ServersProperty]]] = None,
tags: typing.List[TagsProperty] = None
)
Properties
| Name | Type | Description |
|---|---|---|
server_group_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property serverGroupName: Name of ServerGroup. |
vpc_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property vpcId: ID of VPC. |
address_ip_version |
typing.Union[str, ros_cdk_core.IResolvable] |
Property addressIpVersion: IP version of address. |
any_port_enabled |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property anyPortEnabled: Specifies whether to enable all-port forwarding. |
connection_drain_enabled |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property connectionDrainEnabled: Whether to enable graceful connection interruption. |
connection_drain_timeout |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property connectionDrainTimeout: Time of graceful connection interruption. |
health_check_config |
typing.Union[ros_cdk_core.IResolvable, HealthCheckConfigProperty] |
Property healthCheckConfig: Health Check Config. |
persistence_enabled |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property persistenceEnabled: Whether to enable session persistence. |
persistence_timeout |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property persistenceTimeout: Time of session persistence. |
preserve_client_ip_enabled |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property preserveClientIpEnabled: Whether to enable the client address retention function. |
protocol |
typing.Union[str, ros_cdk_core.IResolvable] |
Property protocol: Protocol of ServerGroup. |
resource_group_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property resourceGroupId: undefined. |
scheduler |
typing.Union[str, ros_cdk_core.IResolvable] |
Property scheduler: undefined. |
server_group_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property serverGroupType: Type of ServerGroup. |
servers |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, ServersProperty]]] |
Property servers: undefined. |
tags |
typing.List[TagsProperty] |
Property tags: Tags to attach to instance. |
server_group_nameRequired
server_group_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property serverGroupName: Name of ServerGroup.
vpc_idRequired
vpc_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property vpcId: ID of VPC.
address_ip_versionOptional
address_ip_version: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property addressIpVersion: IP version of address.
any_port_enabledOptional
any_port_enabled: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property anyPortEnabled: Specifies whether to enable all-port forwarding.
Valid values: true false (default)
connection_drain_enabledOptional
connection_drain_enabled: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property connectionDrainEnabled: Whether to enable graceful connection interruption.
connection_drain_timeoutOptional
connection_drain_timeout: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property connectionDrainTimeout: Time of graceful connection interruption.
health_check_configOptional
health_check_config: typing.Union[IResolvable, HealthCheckConfigProperty]
- Type: typing.Union[ros_cdk_core.IResolvable, HealthCheckConfigProperty]
Property healthCheckConfig: Health Check Config.
persistence_enabledOptional
persistence_enabled: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property persistenceEnabled: Whether to enable session persistence.
persistence_timeoutOptional
persistence_timeout: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property persistenceTimeout: Time of session persistence.
preserve_client_ip_enabledOptional
preserve_client_ip_enabled: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property preserveClientIpEnabled: Whether to enable the client address retention function.
protocolOptional
protocol: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property protocol: Protocol of ServerGroup.
resource_group_idOptional
resource_group_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property resourceGroupId: undefined.
schedulerOptional
scheduler: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property scheduler: undefined.
server_group_typeOptional
server_group_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property serverGroupType: Type of ServerGroup.
serversOptional
servers: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, ServersProperty]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, ServersProperty]]]
Property servers: undefined.
tagsOptional
tags: typing.List[TagsProperty]
- Type: typing.List[TagsProperty]
Property tags: Tags to attach to instance.
Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.