ALIYUN::REDIS::AuditLogConfig is used to modify the audit log settings of an ApsaraDB for Redis instance.
Syntax
{
"Type": "ALIYUN::REDIS::AuditLogConfig",
"Properties": {
"InstanceId": String,
"Retention": Integer
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
InstanceId | String | Yes | No | The instance ID. | You can call the DescribeInstances operation to query the instance ID. |
Retention | Integer | Yes | Yes | The retention period of audit logs. | Valid values: 1 to 365. Unit: day. The value of this property takes effect for all ApsaraDB for Redis instances in the current region. |
Return values
Fn::GetAtt
InstanceId: the instance ID.