AuditLogConfigProps
Properties for defining a AuditLogConfig
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-redis-auditlogconfig
Initializer
import ros_cdk_redis
ros_cdk_redis.AuditLogConfigProps(
instance_id: typing.Union[str, IResolvable],
retention: typing.Union[typing.Union[int, float], IResolvable]
)
Properties
Name | Type | Description |
---|---|---|
instance_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property instanceId: The ID of the instance. |
retention |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property retention: The retention period of audit logs. |
instance_id
Required
instance_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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
retention: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], 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.