xdmp.awsServicesDomain() as String?
Returns the current Amazon Web Services services domain. If MarkLogic is not running on Amazon Web Services, returns null.
xdmp.awsServicesDomain() => "amazonaws.com"