Skip to content

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.

serverGroupNameRequired

public readonly serverGroupName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property serverGroupName: Name of ServerGroup.


vpcIdRequired

public readonly vpcId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property vpcId: ID of VPC.


addressIpVersionOptional

public readonly addressIpVersion: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property addressIpVersion: IP version of address.


anyPortEnabledOptional

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)


connectionDrainEnabledOptional

public readonly connectionDrainEnabled: boolean | IResolvable;
  • Type: boolean | @alicloud/ros-cdk-core.IResolvable

Property connectionDrainEnabled: Whether to enable graceful connection interruption.


connectionDrainTimeoutOptional

public readonly connectionDrainTimeout: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property connectionDrainTimeout: Time of graceful connection interruption.


healthCheckConfigOptional

public readonly healthCheckConfig: IResolvable | HealthCheckConfigProperty;

Property healthCheckConfig: Health Check Config.


persistenceEnabledOptional

public readonly persistenceEnabled: boolean | IResolvable;
  • Type: boolean | @alicloud/ros-cdk-core.IResolvable

Property persistenceEnabled: Whether to enable session persistence.


persistenceTimeoutOptional

public readonly persistenceTimeout: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property persistenceTimeout: Time of session persistence.


preserveClientIpEnabledOptional

public readonly preserveClientIpEnabled: boolean | IResolvable;
  • Type: boolean | @alicloud/ros-cdk-core.IResolvable

Property preserveClientIpEnabled: Whether to enable the client address retention function.


protocolOptional

public readonly protocol: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property protocol: Protocol of ServerGroup.


resourceGroupIdOptional

public readonly resourceGroupId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property resourceGroupId: undefined.


schedulerOptional

public readonly scheduler: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property scheduler: undefined.


serverGroupTypeOptional

public readonly serverGroupType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property serverGroupType: Type of ServerGroup.


serversOptional

public readonly servers: IResolvable | IResolvable | ServersProperty[];
  • Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | ServersProperty[]

Property servers: undefined.


tagsOptional

public readonly tags: 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.