AuditLogConfigProps
Properties for defining a AuditLogConfig
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-redis-auditlogconfig
Initializer
import { AuditLogConfigProps } from '@alicloud/ros-cdk-redis'
const auditLogConfigProps: AuditLogConfigProps = { ... }
Properties
Name | Type | Description |
---|---|---|
instanceId |
string | @alicloud/ros-cdk-core.IResolvable |
Property instanceId: The ID of the instance. |
retention |
number | @alicloud/ros-cdk-core.IResolvable |
Property retention: The retention period of audit logs. |
instanceId
Required
public readonly instanceId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property instanceId: The ID of the instance.
You can call the DescribeInstances operation to query the ID of the instance.
retention
Required
public readonly retention: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
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.