Skip to content

AuditLogConfigProps

Properties for defining a AuditLogConfig.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-redis-auditlogconfig

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkredis"
&alicloudroscdkredis.AuditLogConfigProps {
    InstanceId: interface{},
    Retention: interface{},
}

Properties

Name Type Description
InstanceId interface{} Property instanceId: The ID of the instance.
Retention interface{} Property retention: The retention period of audit logs.

InstanceIdRequired

InstanceId interface{}
  • Type: interface{}

Property instanceId: The ID of the instance.

You can call the DescribeInstances operation to query the ID of the instance.


RetentionRequired

Retention interface{}
  • Type: interface{}

Property retention: The retention period of audit logs.

Valid values: 1 to 365. Unit: days. Note: The value of this parameter takes effect for all ApsaraDB for Redis instances in the current region.