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]$

AttributeValue
RequiredYes
TypeString
Pattern^[a-zA-Z0-9][-a-zA-Z0-9_]*[a-zA-Z0-9]$
Length constraints3–63
Update requiresReplacement

Protocol

The protocol for the server group. - pattern : TCP | UDP

AttributeValue
RequiredYes
TypeString
Pattern`^(TCP
Update requiresReplacement

VpcId

The identifier of the VPC where the resource is located.

AttributeValue
RequiredYes
TypeString
Update requiresReplacement

SubnetId

The identifier of the subnet where the resource is located.

AttributeValue
RequiredYes
TypeString
Update requiresReplacement

LbMethod

The load balancing method. - pattern : ROUND_ROBIN | LEAST_CONNECTION | SOURCE_IP_PORT_HASH | SOURCE_IP_HASH | WEIGHTED_ROUND_ROBIN | WEIGHTED_LEAST_CONNECTION

AttributeValue
RequiredYes
TypeString
Pattern`^(ROUND_ROBIN
Update requiresNo interruption

Description

A brief explanation or note about this resource that identifies the purpose or usage of the resource. - maxLength : 255

AttributeValue
RequiredNo
TypeString
Length constraintsMax: 255
Update requiresNo interruption

LbHealthCheckId

The LB Health Check ID used to monitor the health of the member servers.

AttributeValue
RequiredNo
TypeString
Update requiresNo 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

AttributeDescription
NameThe 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]$
ProtocolThe protocol for the server group. - pattern : TCP
VpcIdThe identifier of the VPC where the resource is located.
SubnetIdThe identifier of the subnet where the resource is located.
LbMethodThe load balancing method. - pattern : ROUND_ROBIN
DescriptionA brief explanation or note about this resource that identifies the purpose or usage of the resource. - maxLength : 255
LbHealthCheckIdThe LB Health Check ID used to monitor the health of the member servers.
AccountIdThe account ID associated with the server group.
LbNameThe name of the Loadbalancer.
LoadbalancerIdThe Loadbalancer ID associated with the server group.
StateThe current state of the LB Server Group. - pattern : CREATING