

# Amazon RDS 이벤트 알림 구독에 소스 식별자 추가
<a name="USER_Events.AddingSource"></a>

소스 식별자(이벤트를 발생시키는 Amazon RDS 소스)를 기존 구독에 추가할 수 있습니다.

## 콘솔
<a name="USER_Events.AddingSource.Console"></a>

소스 식별자는 Amazon RDS 콘솔에서 구독 관련 설정을 변경하면서 선택 또는 선택 해제를 통해 쉽게 추가하거나 제거할 수 있습니다. 자세한 내용은 [Amazon RDS 이벤트 알림 구독 수정](USER_Events.Modifying.md) 섹션을 참조하세요.

## AWS CLI
<a name="USER_Events.AddingSource.CLI"></a>

Amazon RDS 이벤트 알림 구독에 소스 식별자를 추가하려면 AWS CLI [https://docs.aws.amazon.com/](https://docs.aws.amazon.com/) 명령을 사용합니다. 다음 필수 파라미터를 포함합니다.
+ `--subscription-name`
+ `--source-identifier`

**Example**  
다음 예제에서는 `mysqldb` 구독에 소스 식별자 `myrdseventsubscription`를 추가합니다.  
대상 LinuxmacOS, 또는Unix:  

```
aws rds add-source-identifier-to-subscription \
    --subscription-name myrdseventsubscription \
    --source-identifier mysqldb
```
Windows의 경우:  

```
aws rds add-source-identifier-to-subscription ^
    --subscription-name myrdseventsubscription ^
    --source-identifier mysqldb
```

## API
<a name="USER_Events.AddingSource.API"></a>

Amazon RDS 이벤트 알림 구독에 소스 식별자를 추가하려면 Amazon RDS API [https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_AddSourceIdentifierToSubscription.html](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_AddSourceIdentifierToSubscription.html)을 호출합니다. 다음 필수 파라미터를 포함합니다.
+ `SubscriptionName`
+ `SourceIdentifier`