aws rds stop-activity-stream
Stops a database activity stream that was started using the Amazon Web Services console, the start-activity-stream CLI command, or the StartActivityStream operation. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To stop a database activity stream
The following stop-activity-stream example stops an activity stream in an Aurora cluster named my-pg-cluster.
aws rds stop-activity-stream --resource-arn arn:aws:rds:us-west-2:1234567890123:cluster:my-pg-cluster --apply-immediatelyIdentify--resource-arnThe Amazon Resource Name (ARN) of the DB cluster for the database activity stream.--apply-immediatelySpecifies whether or not the database activity stream is to stop as soon as possible, regardless of the maintenance window for the database.Its output
{
"KmsKeyId": "arn:aws:kms:us-west-2:1234567890123:key/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
"KinesisStreamName": "aws-rds-das-cluster-0ABCDEFGHI1JKLM2NOPQ3R4S",
"Status": "stopping"
}For more information, see Stopping an activity stream in the Amazon Aurora User Guide.
Options
--apply-immediatelySpecifies whether or not the database activity stream is to stop as soon as possible, regardless of the maintenance window for the database.--resource-arnThe Amazon Resource Name (ARN) of the DB cluster for the database activity stream.