Your AWS account ID and its alias - AWS Identity and Access Management

Find step-by-step instructions and CLI and API commands for creating an alias for your AWS account, which substitutes for an account ID in the URL for your account.