Using Console
Using CLI
cluster-identifier
with the actual identifier of your DocumentDB cluster.
[ "audit" ]
, indicating that audit logging has been enabled.
Using Python
boto3
, which is the AWS SDK for Python.boto3.client
method.DBClusterIdentifier
of the DocDB Cluster.modify_db_cluster
method of the RDS client with the EnableCloudwatchLogsExports
parameter set to include 'audit'
.modify_db_cluster
API call.