{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cockroach-labs/json-schema/cockroach-labs-enable-cloud-watch-metric-export-body-schema.json",
  "title": "EnableCloudWatchMetricExportRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cockroach-labs-metric-export-api-openapi.yml#/components/schemas/EnableCloudWatchMetricExportBody",
  "type": "object",
  "properties": {
    "external_id": {
      "description": "external_id to include when assuming the IAM role specified by role_arn.\nOptional. A specific value may be required by the role's trust policy.\nOnly supported for Advanced clusters. If provided for a Standard cluster,\nthe request is rejected.",
      "type": "string"
    },
    "log_group_name": {
      "description": "log_group_name is the customized log group name.",
      "type": "string"
    },
    "role_arn": {
      "description": "role_arn is the IAM role used to upload metric segments to the\ntarget AWS account.",
      "type": "string"
    },
    "target_region": {
      "description": "target_region specifies the specific AWS region that the metrics will\nbe exported to.",
      "type": "string"
    }
  },
  "required": [
    "role_arn"
  ]
}