# SCP::Loadbalancer::PublicNatIp

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

---

```
SCP::Loadbalancer::PublicNatIp
```





## Description
A Public NAT IP associated with a Loadbalancer. Provides outbound internet access from the Loadbalancer to the external network using a public IP.

## Version
`1.4.0`

## Syntax

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

**JSON**
```json
{
  "Type" : "SCP::Loadbalancer::PublicNatIp",
  "Properties" : {
    "LoadbalancerId" : "String",
    "PublicipId" : "String"
  }
}

```

**YAML**
```yaml
Type: SCP::Loadbalancer::PublicNatIp
Properties:
  LoadbalancerId: String
  PublicipId: String

```

## Properties


### LoadbalancerId

The Loadbalancer ID associated with the Public NAT IP.

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






### PublicipId

The public IP ID assigned for outbound traffic.

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







## Return Values

### Ref

When you pass the logical ID of this resource to the `Ref` function, Ref returns the value of the **LoadbalancerId**.


### Fn::GetAtt

| Attribute | Description |
|-----------|-------------|
| **LoadbalancerId** | The Loadbalancer ID associated with the Public NAT IP. |
| **PublicipId** | The public IP ID assigned for outbound traffic. |
| **ExternalIpAddress** | The external IP address. |
| **State** | The current state of the Public NAT IP. |
