---
title: "LoadBalancerRuleAction"
slug: "common-vapidatatype-loadbalancerruleaction"
updated: 2026-04-23T08:55:13Z
published: 2026-04-23T09:02:03Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# LoadBalancerRuleAction

<p class="platform-info type-vpc">VPC 환경에서 이용 가능합니다.</p>

로드 밸런서 규칙 액션입니다.

## 구문 <a name="구문"></a>
구문은 다음과 같습니다.

```Java
private CommonCode ruleActionType;
private TargetGroupAction targetGroupAction;
private RedirectionAction redirectionAction;
```

## 필드 <a name="필드"></a>
필드에 대한 설명은 다음과 같습니다.

| 필드                           | 타입   | 필수 여부                                  | 설명                                                        |
| --------------------------------- | --------- | ------------------------------------- | ---------------------------------------------------------- |
| `ruleActionType`                    | [CommonCode](/docs/common-vapidatatype-commoncode)       | Required                            | 규칙 액션 유형<ul><li>`TARGET_GROUP` (기본값) \| `REDIRECTION`<ul><li>`TARGET_GROUP`: 타겟 그룹 액션</li><li>`REDIRECTION`: 리다이렉션 액션</li></ul></li></ul>    |
| `targetGroupAction`                 | [TargetGroupAction](/docs/common-vapidatatype-targetgroupaction)        | Optional                     | 타겟 그룹 액션 설정 내용   |
| `redirectionAction`                 | [RedirectionAction](/docs/common-vapidatatype-redirectionaction)        | Optional                     | 리다이렉션 액션 설정 내용    |
