Open the AWS Management Console and navigate to the Identity and Access Management (IAM).
Click on Account settings from the left navigation panel.
Click Edit.
Click Custom.
Set Password minimum length.
Select the required options under Password strength.
Click Save changes.
Try creating a new IAM user, the password will require newly set criteria.