AuditPolicyProps
Properties for defining a AuditPolicy.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mongodb-auditpolicy
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkmongodb"
&alicloudroscdkmongodb.AuditPolicyProps {
AuditStatus: interface{},
DbInstanceId: interface{},
StoragePeriod: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
AuditStatus | interface{} | Property auditStatus: Audit state, Valid values: enable, disabled. |
DbInstanceId | interface{} | Property dbInstanceId: Database Instance Id. |
StoragePeriod | interface{} | Property storagePeriod: Audit log retention duration. |
AuditStatusRequired
AuditStatus interface{}
- Type: interface{}
Property auditStatus: Audit state, Valid values: enable, disabled.
DbInstanceIdRequired
DbInstanceId interface{}
- Type: interface{}
Property dbInstanceId: Database Instance Id.
StoragePeriodOptional
StoragePeriod interface{}
- Type: interface{}
Property storagePeriod: Audit log retention duration.
The value range is 1 to 365 days. The default value is 30 days.