有可能在嵌套中定义自定义访问日志吗?

时间:2019-01-18 10:18:57

标签: amazon-web-services aws-api-gateway terraform

有人可以帮助我为apigateway设置自定义访问日志吗?

 <?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
    <group android:id="@+id/group_feature"
        android:checkableBehavior="single">
        <item android:id="@+id/navdrawer_item_map"
            android:checked="true"
            android:icon="@drawable/ic_drawer_map"
            android:title="@string/navdrawer_item_map"/>

    </group>
    <group android:id="@+id/group_settings"
        android:checkableBehavior="single">
        <item android:id="@+id/navdrawer_item_settings"
            android:icon="@drawable/ic_drawer_settings"
            android:title="@string/navdrawer_item_settings"/>

    </group>
</menu>

是否有可能在嵌套在其中的位置定义自定义访问日志?

resource "aws_api_gateway_method_settings" "api" {
  rest_api_id = "${aws_api_gateway_rest_api.api.id}"
  stage_name  = "${var.stage_name}"
  method_path = "*/*"

  settings {
    throttling_burst_limit = 1000
    throttling_rate_limit  = 5000

    #   log_full_requests      = true
    data_trace_enabled = true
    metrics_enabled    = true
    logging_level      = "INFO"
  }
}

0 个答案:

没有答案