rds_modify_activity_stream: Changes the audit policy state of a database activity stream...

View source: R/rds_operations.R

rds_modify_activity_streamR Documentation

Changes the audit policy state of a database activity stream to either locked (default) or unlocked

Description

Changes the audit policy state of a database activity stream to either locked (default) or unlocked. A locked policy is read-only, whereas an unlocked policy is read/write. If your activity stream is started and locked, you can unlock it, customize your audit policy, and then lock your activity stream. Restarting the activity stream isn't required. For more information, see Modifying a database activity stream in the Amazon RDS User Guide.

See https://www.paws-r-sdk.com/docs/rds_modify_activity_stream/ for full documentation.

Usage

rds_modify_activity_stream(ResourceArn = NULL, AuditPolicyState = NULL)

Arguments

ResourceArn

The Amazon Resource Name (ARN) of the RDS for Oracle or Microsoft SQL Server DB instance. For example, arn:aws:rds:us-east-1:12345667890:db:my-orcl-db.

AuditPolicyState

The audit policy state. When a policy is unlocked, it is read/write. When it is locked, it is read-only. You can edit your audit policy only when the activity stream is unlocked or stopped.


paws.database documentation built on Sept. 12, 2024, 6:37 a.m.