; and (ii) shall not be governed by standards, requirements, restrictions, or procedures contained in a judicial decree or settlement relating to the authority to detain or release alien minors. (2) Conditions of detention (A) In general Notwithstanding any other provision of law, judicial determination, consent decree, or settlement agreement, the Secretary of Homeland Security shall determine, in the sole discretion of the Secretary, the conditions of detention applicable to an alien minor described in paragraph (1)(A) regardless of whether the alien minor was previously an unaccompanied alien child. (B) No judicial review A determination under subparagraph (A) shall not be subject to judicial review. (3) Rule of construction Nothing in this section— (A) affects the eligibility for bond or parole of an alien; or (B) limits the authority of a court to hear a claim arising under the Constitution of the United States. (4) Preemption of State licensing requirements Notwithstanding any other provision of law, judicial determination, consent decree, or settlement agreement, a State may not require an immigration detention facility used to detain families consisting of one or more children who have not attained 18 years of age and the parents or legal guardians of such children, that is located in the State, to be licensed by the State or any political subdivision thereof. (5) Conditions of custody The Secretary of Homeland Security shall ensure that each— (A) family residential facility is secure and safe; and (B) alien child and accompanying parent at a family residential facility has— (i) suitable living accommodations; (ii) access to drinking water and food; (iii) timely access to medical assistance, including mental health assistance