本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
Amazon CloudWatch Logs 资源策略大小限制
CloudWatch Logs 资源策略限制为 5120 个字符。当 CloudWatch Logs 检测到策略接近此大小限制时,它会自动启用以 /aws/vendedlogs/
开头的日志组。
创建启用日志记录的状态机时,Step Functions 必须使用您指定的日志组更新 CloudWatch Logs 资源策略。为避免达到 CloudWatch Logs 资源策略大小限制,请在 CloudWatch Logs 日志组名称前加上 /aws/vendedlogs/
前缀。在 Step Functions 控制台中创建日志组时,日志组名称的前缀为 /aws/vendedlogs/states
。有关更多信息,请参阅从某些 Amazon 服务启用日志记录。
如果您无法访问 CloudWatch Logs,请参阅Unable to access the CloudWatch Logs 获取信息。