Login into AWS Console using https://console.aws.amazon.com/iam/
Go to Account Settings — Click on Edit
Click on the Custom option to edit the Password Policy
Set the password changes as per the requirement
Save the settings to enforce the new password policy changes.