# SCP::Loadbalancer::Member

LLMS index: [llms.txt](https://docs.e.samsungsdscloud.com/en/templatereference/networking/loadbalancer/llms.txt)

---

```
SCP::Loadbalancer::Member
```





## Description
An LB Member that registers a server or IP as a member of an LB Server Group to receive traffic distributed by the Loadbalancer.

## Version
`1.4.0`

## Syntax

To declare this entity in your Infrastructure Builder template, use the following syntax:

**JSON**
```json
{
  "Type" : "SCP::Loadbalancer::Member",
  "Properties" : {
    "LbServerGroupId" : "String",
    "Name" : "String",
    "MemberIp" : "String",
    "MemberPort" : "Integer",
    "ObjectType" : "String",
    "ObjectId" : "String",
    "MemberWeight" : "Integer",
    "MemberState" : "String"
  }
}

```

**YAML**
```yaml
Type: SCP::Loadbalancer::Member
Properties:
  LbServerGroupId: String
  Name: String
  MemberIp: String
  MemberPort: Integer
  ObjectType: String
  ObjectId: String
  MemberWeight: Integer
  MemberState: String

```

## Properties


### LbServerGroupId

The identifier of the LB Server Group that the member belongs to.

| Attribute | Value |
|-----------|-------|
| **Required** | Yes |
| **Type** | String |
| **Update requires** | Replacement |






### Name

The name of the LB Member. - minLength : 1 - maxLength : 63 - pattern : ^[a-zA-Z0-9\s\-_\.]*$

| Attribute | Value |
|-----------|-------|
| **Required** | Yes |
| **Type** | String |
| **Pattern** | `^[a-zA-Z0-9\s\-_\.]*$` |
| **Length constraints** | 1–63 |
| **Update requires** | Replacement |






### MemberIp

The IP address of the member.

| Attribute | Value |
|-----------|-------|
| **Required** | Yes |
| **Type** | String |
| **Pattern** | `^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$|^([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}$|^::|^([0-9a-fA-F]{1,4}:){1,6}:(([0-9a-fA-F]{1,4}:)*[0-9a-fA-F]{1,4})?$` |
| **Update requires** | Replacement |






### MemberPort

The protocol port number of the member. Required.

| Attribute | Value |
|-----------|-------|
| **Required** | Yes |
| **Type** | Integer |
| **Range** | 1–65534 |
| **Update requires** | No interruption |






### ObjectType

The type of backend object. Valid values: VM (virtual machine), BM (bare metal server), MANUAL (IP-based/manual member), MNGC (managed container). Defaults to VM if not specified. For VM or BM, object_id is required. For MANUAL, member_ip is required and object_id should be omitted.

| Attribute | Value |
|-----------|-------|
| **Required** | Yes |
| **Type** | String |
| **Allowed values** | VM \| BM \| MANUAL \| MNGC |
| **Update requires** | Replacement |






### ObjectId

The ID of the backend object (Virtual Server, Bare Metal server, etc.). Required when object_type is VM or BM. Omit when object_type is MANUAL.

| Attribute | Value |
|-----------|-------|
| **Required** | No |
| **Type** | String |
| **Update requires** | Replacement |






### MemberWeight

The weight of the member for load balancing. Higher values receive more traffic. Defaults to 1 if not specified.

| Attribute | Value |
|-----------|-------|
| **Required** | No |
| **Type** | Integer |
| **Range** | 1–1000 |
| **Update requires** | No interruption |






### MemberState

The initial state of the member. Valid values: ENABLE (accepts traffic), DISABLE (does not accept traffic). Defaults to ENABLE if not specified.

| Attribute | Value |
|-----------|-------|
| **Required** | No |
| **Type** | String |
| **Allowed values** | ENABLE \| DISABLE |
| **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 |
|-----------|-------------|
| **LbServerGroupId** | The identifier of the LB Server Group that the member belongs to. |
| **Name** | The name of the LB Member. - minLength : 1 - maxLength : 63 - pattern : ^[a-zA-Z0-9\s\-_\.]*$ |
| **MemberIp** | The IP address of the member. |
| **MemberPort** | The protocol port number of the member. Required. |
| **ObjectType** | The type of backend object. Valid values: VM (virtual machine), BM (bare metal server), MANUAL (IP-based/manual member), MNGC (managed container). Defaults to VM if not specified. For VM or BM, object_id is required. For MANUAL, member_ip is required and object_id should be omitted. |
| **ObjectId** | The ID of the backend object (Virtual Server, Bare Metal server, etc.). Required when object_type is VM or BM. Omit when object_type is MANUAL. |
| **MemberWeight** | The weight of the member for load balancing. Higher values receive more traffic. Defaults to 1 if not specified. |
| **MemberState** | The initial state of the member. Valid values: ENABLE (accepts traffic), DISABLE (does not accept traffic). Defaults to ENABLE if not specified. |
| **State** | The current state of the LB Member. |
| **SubnetId** | The identifier of the subnet where the resource is located. |
| **Uuid** | The unique identifier (UUID) of the member resource. |
