

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# api-gwv2-access-logs-enabled
<a name="api-gwv2-access-logs-enabled"></a>

检查 Amazon API Gateway V2 阶段是否启用了访问日志功能。如果阶段配置中不存在 “accessLogSettings”，则该规则不兼容。



**标识：** API\$1GWV2\$1ACCESS\$1LOGS\$1ENABLED

**资源类型：** AWS::ApiGatewayV2::Stage

**触发器类型：** 配置更改

**AWS 区域:** 所有支持的 AWS 区域

**参数：**

无  

## AWS CloudFormation 模板
<a name="w2aac20c16c17b7c67c19"></a>

要使用 AWS CloudFormation 模板创建 AWS Config 托管规则，请参阅[使用 AWS CloudFormation 模板创建 AWS Config 托管规则](aws-config-managed-rules-cloudformation-templates.md)。