Stopping a database activity stream
You can stop an activity stream using the console or AWS CLI.
If you delete your Amazon RDS database instance, the activity stream is stopped and the underlying Amazon Kinesis stream is deleted automatically.
To turn off an activity stream
-
Open the Amazon RDS console at https://console.aws.amazon.com/rds/
. -
In the navigation pane, choose Databases.
-
Choose a database that you want to stop the database activity stream for.
-
For Actions, choose Stop activity stream. The Database Activity Stream window appears.
-
Choose Immediately.
When you choose Immediately, the RDS instance restarts right away. If you choose During the next maintenance window, the RDS instance doesn't restart right away. In this case, the database activity stream doesn't stop until the next maintenance window.
-
Choose Continue.
-
To stop database activity streams for your database, configure the DB instance using the AWS CLI command stop-activity-stream. Identify the AWS Region for the
DB instance using the
--region
parameter. The --apply-immediately
parameter is optional.
For Linux, macOS, or Unix:
aws rds --region
MY_REGION
\ stop-activity-stream \ --resource-arnMY_DB_ARN
\ --apply-immediately
For Windows:
aws rds --region
MY_REGION
^ stop-activity-stream ^ --resource-arnMY_DB_ARN
^ --apply-immediately
To stop database activity streams for your database, configure the DB instance using the StopActivityStream operation. Identify the AWS Region for the DB instance using the Region
parameter. The
ApplyImmediately
parameter is optional.