SCP::Loadbalancer::LbServerGroup
SCP::Loadbalancer::LbServerGroup
SCP::Loadbalancer::LbServerGroup
Description
An LB Server Group that groups the servers registered as members of a Loadbalancer. Incoming traffic is distributed to the member servers according to the load balancing method, and the health check is used to detect unhealthy members.
Version
1.4.0
Syntax
To declare this entity in your Infrastructure Builder template, use the following syntax:
JSON
{
"Type" : "SCP::Loadbalancer::LbServerGroup",
"Properties" : {
"Name" : "String",
"Protocol" : "String",
"VpcId" : "String",
"SubnetId" : "String",
"LbMethod" : "String",
"Description" : "String",
"LbHealthCheckId" : "String"
}
}
YAML
Type: SCP::Loadbalancer::LbServerGroup
Properties:
Name: String
Protocol: String
VpcId: String
SubnetId: String
LbMethod: String
Description: String
LbHealthCheckId: String
Properties
Name
The name of the LB Server Group. Used to identify the server group within the Loadbalancer service. - minLength : 3 - maxLength : 63 - pattern : ^[a-zA-Z0-9][-a-zA-Z0-9_]*[a-zA-Z0-9]$
| Attribute | Value |
|---|---|
| Required | Yes |
| Type | String |
| Pattern | ^[a-zA-Z0-9][-a-zA-Z0-9_]*[a-zA-Z0-9]$ |
| Length constraints | 3–63 |
| Update requires | Replacement |
Protocol
The protocol for the server group. - pattern : TCP | UDP
| Attribute | Value |
|---|---|
| Required | Yes |
| Type | String |
| Pattern | `^(TCP |
| Update requires | Replacement |
VpcId
The identifier of the VPC where the resource is located.
| Attribute | Value |
|---|---|
| Required | Yes |
| Type | String |
| Update requires | Replacement |
SubnetId
The identifier of the subnet where the resource is located.
| Attribute | Value |
|---|---|
| Required | Yes |
| Type | String |
| Update requires | Replacement |
LbMethod
The load balancing method. - pattern : ROUND_ROBIN | LEAST_CONNECTION | SOURCE_IP_PORT_HASH | SOURCE_IP_HASH | WEIGHTED_ROUND_ROBIN | WEIGHTED_LEAST_CONNECTION
| Attribute | Value |
|---|---|
| Required | Yes |
| Type | String |
| Pattern | `^(ROUND_ROBIN |
| Update requires | No interruption |
Description
A brief explanation or note about this resource that identifies the purpose or usage of the resource. - maxLength : 255
| Attribute | Value |
|---|---|
| Required | No |
| Type | String |
| Length constraints | Max: 255 |
| Update requires | No interruption |
LbHealthCheckId
The LB Health Check ID used to monitor the health of the member servers.
| Attribute | Value |
|---|---|
| Required | No |
| Type | String |
| Update requires | No interruption |
Return Values
Ref
When you pass the logical ID of this resource to the Ref function, Ref returns the value of the Id.
Fn::GetAtt
| Attribute | Description |
|---|---|
| Name | The name of the LB Server Group. Used to identify the server group within the Loadbalancer service. - minLength : 3 - maxLength : 63 - pattern : ^[a-zA-Z0-9][-a-zA-Z0-9_]*[a-zA-Z0-9]$ |
| Protocol | The protocol for the server group. - pattern : TCP |
| VpcId | The identifier of the VPC where the resource is located. |
| SubnetId | The identifier of the subnet where the resource is located. |
| LbMethod | The load balancing method. - pattern : ROUND_ROBIN |
| Description | A brief explanation or note about this resource that identifies the purpose or usage of the resource. - maxLength : 255 |
| LbHealthCheckId | The LB Health Check ID used to monitor the health of the member servers. |
| AccountId | The account ID associated with the server group. |
| LbName | The name of the Loadbalancer. |
| LoadbalancerId | The Loadbalancer ID associated with the server group. |
| State | The current state of the LB Server Group. - pattern : CREATING |