ServerGroupProps
Properties for defining a ServerGroup
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-nlb-servergroup
Initializer
import { ServerGroupProps } from '@alicloud/ros-cdk-nlb'
const serverGroupProps: ServerGroupProps = { ... }
Properties
Name | Type | Description |
---|---|---|
serverGroupName |
string | @alicloud/ros-cdk-core.IResolvable |
Property serverGroupName: Name of ServerGroup. |
vpcId |
string | @alicloud/ros-cdk-core.IResolvable |
Property vpcId: ID of VPC. |
addressIpVersion |
string | @alicloud/ros-cdk-core.IResolvable |
Property addressIpVersion: IP version of address. |
anyPortEnabled |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property anyPortEnabled: Specifies whether to enable all-port forwarding. |
connectionDrainEnabled |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property connectionDrainEnabled: Whether to enable graceful connection interruption. |
connectionDrainTimeout |
number | @alicloud/ros-cdk-core.IResolvable |
Property connectionDrainTimeout: Time of graceful connection interruption. |
healthCheckConfig |
@alicloud/ros-cdk-core.IResolvable | HealthCheckConfigProperty |
Property healthCheckConfig: Health Check Config. |
persistenceEnabled |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property persistenceEnabled: Whether to enable session persistence. |
persistenceTimeout |
number | @alicloud/ros-cdk-core.IResolvable |
Property persistenceTimeout: Time of session persistence. |
preserveClientIpEnabled |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property preserveClientIpEnabled: Whether to enable the client address retention function. |
protocol |
string | @alicloud/ros-cdk-core.IResolvable |
Property protocol: Protocol of ServerGroup. |
resourceGroupId |
string | @alicloud/ros-cdk-core.IResolvable |
Property resourceGroupId: undefined. |
scheduler |
string | @alicloud/ros-cdk-core.IResolvable |
Property scheduler: undefined. |
serverGroupType |
string | @alicloud/ros-cdk-core.IResolvable |
Property serverGroupType: Type of ServerGroup. |
servers |
@alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | ServersProperty[] |
Property servers: undefined. |
tags |
TagsProperty[] |
Property tags: Tags to attach to instance. |
serverGroupName
Required
public readonly serverGroupName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property serverGroupName: Name of ServerGroup.
vpcId
Required
public readonly vpcId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vpcId: ID of VPC.
addressIpVersion
Optional
public readonly addressIpVersion: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property addressIpVersion: IP version of address.
anyPortEnabled
Optional
public readonly anyPortEnabled: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property anyPortEnabled: Specifies whether to enable all-port forwarding.
Valid values: true false (default)
connectionDrainEnabled
Optional
public readonly connectionDrainEnabled: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property connectionDrainEnabled: Whether to enable graceful connection interruption.
connectionDrainTimeout
Optional
public readonly connectionDrainTimeout: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property connectionDrainTimeout: Time of graceful connection interruption.
healthCheckConfig
Optional
public readonly healthCheckConfig: IResolvable | HealthCheckConfigProperty;
- Type: @alicloud/ros-cdk-core.IResolvable | HealthCheckConfigProperty
Property healthCheckConfig: Health Check Config.
persistenceEnabled
Optional
public readonly persistenceEnabled: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property persistenceEnabled: Whether to enable session persistence.
persistenceTimeout
Optional
public readonly persistenceTimeout: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property persistenceTimeout: Time of session persistence.
preserveClientIpEnabled
Optional
public readonly preserveClientIpEnabled: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property preserveClientIpEnabled: Whether to enable the client address retention function.
protocol
Optional
public readonly protocol: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property protocol: Protocol of ServerGroup.
resourceGroupId
Optional
public readonly resourceGroupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property resourceGroupId: undefined.
scheduler
Optional
public readonly scheduler: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property scheduler: undefined.
serverGroupType
Optional
public readonly serverGroupType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property serverGroupType: Type of ServerGroup.
servers
Optional
public readonly servers: IResolvable | IResolvable | ServersProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | ServersProperty[]
Property servers: undefined.
tags
Optional
public readonly tags: TagsProperty[];
- Type: 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.