

# Stopping a database activity stream
<a name="DBActivityStreams.Disabling"></a>

You can stop an activity stream using the console or Amazon CLI.

If you delete your DB cluster, the activity stream is stopped and the underlying Amazon Kinesis stream is deleted automatically.

## Console
<a name="DBActivityStreams.Disabling-collapsible-section-D1"></a>

**To turn off an activity stream**

1. Open the Amazon RDS console at [https://console.amazonaws.cn/rds/](https://console.amazonaws.cn/rds/).

1. In the navigation pane, choose **Databases**.

1. Choose a DB cluster that you want to stop the database activity stream for.

1. For **Actions**, choose **Stop activity stream**. The **Database Activity Stream** window appears.

   1. Choose **Immediately**.

      When you choose **Immediately**, the DB cluster restarts right away. If you choose **During the next maintenance window**, the DB cluster doesn't restart right away. In this case, the database activity stream doesn't stop until the next maintenance window.

   1. Choose **Continue**.

## Amazon CLI
<a name="DBActivityStreams.Disabling-collapsible-section-D2"></a>

To stop database activity streams for your DB cluster, configure the DB cluster using the Amazon CLI command [stop-activity-stream](https://docs.amazonaws.cn/cli/latest/reference/rds/stop-activity-stream.html). Identify the Amazon Region for the DB cluster using the `--region` parameter. The `--apply-immediately` parameter is optional.

For Linux, macOS, or Unix:

```
aws rds --region {{MY_REGION}} \
    stop-activity-stream \
    --resource-arn {{MY_CLUSTER_ARN}} \
    --apply-immediately
```

For Windows:

```
aws rds --region {{MY_REGION}} ^
    stop-activity-stream ^
    --resource-arn {{MY_CLUSTER_ARN}} ^
    --apply-immediately
```

## RDS API
<a name="DBActivityStreams.Disabling-collapsible-section-D3"></a>

To stop database activity streams for your DB cluster, configure the cluster using the [StopActivityStream](https://docs.amazonaws.cn/AmazonRDS/latest/APIReference/API_StopActivityStream.html) operation. Identify the Amazon Region for the DB cluster using the `Region` parameter. The `ApplyImmediately` parameter is optional.