API Gateway REST API ステージ - Amazon CloudWatch

API Gateway REST API ステージ

次の例は、API Gateway REST API ステージ用の JSON 形式のコンポーネント設定を示しています。

{ "alarmMetrics" : [ { "alarmMetricName" : "4XXError", "monitor" : true }, { "alarmMetricName" : "5XXError", "monitor" : true } ], "logs" : [ { "logType" : "API_GATEWAY_EXECUTION", "monitor" : true }, { "logType" : "API_GATEWAY_ACCESS", "monitor" : true } ] }