Creates a comprehensive user hierarchy structure with five levels for Amazon Connect.

Terraform Template

resource "aws_connect_user_hierarchy_structure" "example" {

  hierarchy_structure {

    level_five {
      name = "levelfive"
    }

    level_four {
      name = "levelfour"
    }

    level_one {
      name = "levelone"
    }

    level_three {
      name = "levelthree"
    }

    level_two {
      name = "leveltwo"
    }
  }
  instance_id = "aaaaaaaa-bbbb-cccc-dddd-111111111111"
}